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

# List stored files

> List stored files for the authenticated account. Send `folderId=null` to list root-level files only. Omit `folderId` for an account-wide list, or pass a folder UUID to list one folder.



## OpenAPI

````yaml /openapi.json get /api/files
openapi: 3.1.0
info:
  title: Convertly API
  version: 1.0.0
  description: >-
    Convertly provides production API endpoints for media conversion,
    compression, Image CDN delivery, Forma AI, HLS/DASH video streaming, media
    tools, async jobs, workflows, webhooks, and Convertly Storage.
  license:
    name: Proprietary
    url: https://convertly.sh/terms
servers:
  - url: https://convertly.sh
security:
  - bearerAuth: []
  - apiKeyAuth: []
paths:
  /api/files:
    get:
      tags:
        - Files
      summary: List stored files
      description: >-
        List stored files for the authenticated account. Send `folderId=null` to
        list root-level files only. Omit `folderId` for an account-wide list, or
        pass a folder UUID to list one folder.
      operationId: listStoredFiles
      parameters:
        - name: folderId
          in: query
          schema:
            type: string
            description: Folder UUID, `null` for root files, or omitted for all files.
        - name: q
          in: query
          schema:
            type: string
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
        - name: offset
          in: query
          schema:
            type: integer
            minimum: 0
            default: 0
      responses:
        '200':
          description: List of stored files
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StoredFileListResponse'
        '401':
          $ref: '#/components/responses/Error'
        '500':
          $ref: '#/components/responses/Error'
components:
  schemas:
    StoredFileListResponse:
      type: object
      properties:
        files:
          type: array
          items:
            $ref: '#/components/schemas/StoredFile'
        total:
          type: integer
      required:
        - files
        - total
    StoredFile:
      type: object
      properties:
        id:
          type: string
          format: uuid
        filename:
          type: string
        mime_type:
          type: string
        size_bytes:
          type: integer
        folder_id:
          type:
            - string
            - 'null'
          format: uuid
        created_at:
          type: string
          format: date-time
        downloadUrl:
          type:
            - string
            - 'null'
          format: uri
      required:
        - id
        - filename
        - mime_type
        - size_bytes
        - created_at
    Error:
      type: object
      properties:
        error:
          type: string
        upgradeUrl:
          type: string
      required:
        - error
  responses:
    Error:
      description: Error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Dashboard-generated Convertly API key. Keys currently begin with
        `cvly_`.
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Alternative API key header for server-side clients.

````