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

# Get a file



## OpenAPI

````yaml /openapi.yaml get /v1/files/{id}
openapi: 3.1.0
info:
  title: VTurb API
  version: v1
  description: |
    Public REST API for VTurb. Dev-first and agents-first: every documented
    response is recorded from the API's real behavior.
  contact:
    name: VTurb API
    url: https://vturb.com
servers:
  - url: https://api.vturb.com
security:
  - bearerAuth: []
paths:
  /v1/files/{id}:
    get:
      tags:
        - Files
      summary: Get a file
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          example: 0190a0b0-0000-7000-8000-000000000001
      responses:
        '200':
          description: A single file the caller owns, by id.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  filename:
                    type: string
                  status:
                    type: string
                  content_type:
                    type: string
                  size:
                    type: integer
                  folder_id:
                    type: 'null'
                  url:
                    type: string
                  metadata:
                    type: object
                    properties:
                      width:
                        type: integer
                      height:
                        type: integer
                    required:
                      - width
                      - height
                  created_at:
                    type: string
                  updated_at:
                    type: string
                required:
                  - id
                  - name
                  - filename
                  - status
                  - content_type
                  - size
                  - folder_id
                  - url
                  - metadata
                  - created_at
                  - updated_at
              example:
                id: 0190a0b0-0000-7000-8000-000000000001
                name: hero.jpg
                filename: hero.jpg
                status: active
                content_type: image/jpeg
                size: 184856
                folder_id: null
                url: >-
                  https://static.vturb.com/assets/org_123/2026/08/12/0190a0b0-0000-7000-8000-000000000001/original.jpg
                metadata:
                  width: 640
                  height: 360
                created_at: '2026-08-12T00:00:00.000Z'
                updated_at: '2026-08-12T00:00:00.000Z'
        '401':
          description: Missing API credential.
          content:
            application/problem+json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                  code:
                    type: string
                  message:
                    type: string
                  request_id:
                    type: string
                required:
                  - type
                  - code
                  - message
                  - request_id
              example:
                type: https://docs.vturb.com/errors/unauthorized
                code: unauthorized
                message: >-
                  Missing or invalid API credential. Send a vt_ token in the
                  Authorization header.
                request_id: 00000000-0000-0000-0000-000000000000
        '404':
          description: No file matches that id for the authenticated caller.
          content:
            application/problem+json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                  code:
                    type: string
                  message:
                    type: string
                  request_id:
                    type: string
                required:
                  - type
                  - code
                  - message
                  - request_id
              example:
                type: https://docs.vturb.com/errors/not_found
                code: not_found
                message: Resource not found.
                request_id: 00000000-0000-0000-0000-000000000000
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Paste your VTurb API token (vt_...). Sent as `Authorization: Bearer
        <token>`.

````