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

# List files



## OpenAPI

````yaml /openapi.yaml get /v1/files
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:
    get:
      tags:
        - Files
      summary: List files
      parameters:
        - name: cursor
          in: query
          required: false
          schema:
            type: string
          example: 0190a0b0-0000-7000-8000-000000000001
          description: >-
            Opaque cursor from the previous page's Link header; omit for the
            first page.
        - name: folder_id
          in: query
          required: false
          schema:
            type: string
          example: fold_1
          description: Only return files in this folder.
        - name: per_page
          in: query
          required: false
          schema:
            type: integer
          example: 20
          description: Page size, 1–100 (default 25).
        - name: q
          in: query
          required: false
          schema:
            type: string
          example: hero
          description: Case-insensitive search on the file name.
      responses:
        '200':
          description: >-
            Optional query params: folder_id scopes to a folder, q matches the
            file name; cursor + per_page drive the cursor pagination.
          content:
            application/json:
              schema:
                type: object
                properties:
                  files:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        filename:
                          type: string
                        status:
                          type: string
                        content_type:
                          type: string
                        byte_size:
                          type: integer
                        folder_id:
                          type:
                            - string
                            - 'null'
                          description: Folder the file is in, or null when unfiled.
                        url:
                          type: string
                        created_at:
                          type: string
                        updated_at:
                          type: string
                      required:
                        - id
                        - name
                        - filename
                        - status
                        - content_type
                        - byte_size
                        - folder_id
                        - url
                        - created_at
                        - updated_at
                required:
                  - files
              example:
                files:
                  - id: 0190a0b0-0000-7000-8000-000000000001
                    name: hero.jpg
                    filename: hero.jpg
                    status: active
                    content_type: image/jpeg
                    byte_size: 184856
                    folder_id: null
                    url: >-
                      https://static.vturb.com/org_123/2026/08/12/0190a0b0-0000-7000-8000-000000000001/original.jpg
                    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
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Paste your VTurb API token (vt_...). Sent as `Authorization: Bearer
        <token>`.

````