> ## Documentation Index
> Fetch the complete documentation index at: https://docs.biomni.phylo.bio/llms.txt
> Use this file to discover all available pages before exploring further.

# Download a result

> Get a fresh download link for one of a task's result files.

Returns a new `download_url` for one result file. The URLs returned by `GET /tasks/{task_id}/results` are short-lived; call this when one has expired.


## OpenAPI

````yaml api-reference/openapi.json GET /experimental/tasks/{task_id}/results/{result_id}/download
openapi: 3.1.0
info:
  title: Phylo API — V1
  description: Public API for Phylo, the biomedical AI agent platform.
  version: 0.1.0
servers:
  - url: https://api.phylo.bio/v1
    description: >-
      Self-serve platform. Enterprise customers should contact the Phylo team to
      get their API base URL. Learn more at https://phylo.bio/enterprise.
security: []
paths:
  /experimental/tasks/{task_id}/results/{result_id}/download:
    get:
      tags:
        - results
      summary: Download a result
      description: Get a fresh download link for one of a task's result files.
      operationId: >-
        get_result_download_url_experimental_tasks__task_id__results__result_id__download_get
      parameters:
        - name: result_id
          in: path
          required: true
          schema:
            type: string
            title: Result Id
        - name: task_id
          in: path
          required: true
          schema:
            type: string
            title: Task Id
      responses:
        '200':
          description: A new download URL for the result file.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResultDownload'
              example:
                type: result_download
                result_id: res_016YNAz7cvmPXcqvGoR1U57t
                download_url: >-
                  https://<bucket>.s3.us-west-2.amazonaws.com/orgs/<org>/users/<user>/results/projects/proj_6b3606df1c/sessions/sess_4c1a28c0e48b/BRCA1_ClinVar_variant_summary.md?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&X-Amz-Signature=...
      security:
        - bearerAuth: []
components:
  schemas:
    ResultDownload:
      properties:
        type:
          type: string
          const: result_download
          title: Type
          default: result_download
        result_id:
          type: string
          title: Result Id
        download_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Download Url
      type: object
      required:
        - result_id
      title: ResultDownload
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Requires an API key. See the Authentication guide.

````