> ## 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.

# Get a file

> Get metadata for one uploaded file.

Returns metadata, not contents. Download the file with `GET /experimental/files/{id}/content`.


## OpenAPI

````yaml api-reference/openapi.json GET /experimental/files/{file_id}
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/files/{file_id}:
    get:
      tags:
        - files
      summary: Get a file
      description: Get metadata for one uploaded file.
      operationId: get_file_experimental_files__file_id__get
      parameters:
        - name: file_id
          in: path
          required: true
          schema:
            type: string
            title: File Id
      responses:
        '200':
          description: File details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/File'
              example:
                id: file_017jG6PPIYy41dqnVz47lrmo
                type: file
                created_at: '2026-08-12T22:05:08.095000Z'
                filename: patient001_brca1.vcf
                size_bytes: 4321
                purpose: input
                mime_type: text/plain
                project_id: prj_014OwAG97UY0UfcHlLHQRnKO
                platform: api
      security:
        - bearerAuth: []
components:
  schemas:
    File:
      properties:
        id:
          type: string
          title: Id
        type:
          type: string
          const: file
          title: Type
          default: file
        created_at:
          type: string
          format: date-time
          title: Created At
        filename:
          type: string
          title: Filename
        size_bytes:
          type: integer
          title: Size Bytes
        purpose:
          type: string
          enum:
            - input
            - output
          title: Purpose
        mime_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Mime Type
        task_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Task Id
        project_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Project Id
        platform:
          type: string
          enum:
            - api
            - mcp
            - web
            - desktop
            - mobile
          title: Platform
          default: api
      type: object
      required:
        - id
        - created_at
        - filename
        - size_bytes
        - purpose
      title: File
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Requires an API key. See the Authentication guide.

````