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

# List files



## OpenAPI

````yaml /api-reference/openapi.json get /v1/files
openapi: 3.1.0
info:
  title: Chipper Platform API
  version: '2026-02-20'
  description: >-
    Payouts, collections, and FX across African rails — bank, mobile money, and
    stablecoins — through one API.
servers:
  - url: https://sandbox-api.platform.chipper.ai
    description: Sandbox (sk_test_ keys — simulated rails, no real money)
  - url: https://api.platform.chipper.ai
    description: Production (sk_live_ keys)
security:
  - bearerAuth: []
paths:
  /v1/files:
    get:
      tags:
        - Files
      summary: List files
      parameters:
        - schema:
            type: integer
            minimum: 1
            maximum: 100
            description: Page size, 1–100.
            example: 20
          required: false
          name: limit
          in: query
        - schema:
            type: string
            description: The `nextCursor` from the previous page.
          required: false
          name: cursor
          in: query
        - schema:
            type: string
            enum:
              - dispute.evidence
              - identity.document
              - identity.selfie
              - business.logo
              - business.document
          required: false
          name: purpose
          in: query
      responses:
        '200':
          description: Newest first, without download URLs.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/File'
                  hasMore:
                    type: boolean
                  nextCursor:
                    type:
                      - string
                      - 'null'
                    description: >-
                      Pass as `cursor` to fetch the next page. Null on the last
                      page.
                required:
                  - data
                  - hasMore
                  - nextCursor
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: unauthorized
                message: Invalid API key
                requestId: req_q7vei435zifs51ia0lqr
      security:
        - bearerAuth: []
components:
  schemas:
    File:
      type: object
      properties:
        id:
          type: string
          example: file_q7vei435zifs51ia0lqr
        purpose:
          type: string
          example: dispute.evidence
        filename:
          type: string
          example: delivery-receipt.pdf
        contentType:
          type: string
          example: application/pdf
        size:
          type: integer
          description: Bytes.
          example: 48213
        url:
          type: string
          format: uri
          description: >-
            Short-lived signed download URL (15 min to 24 h depending on
            purpose). Present on upload and get, omitted in lists.
        createdAt:
          type: string
          format: date-time
          example: '2026-08-01T09:12:44.000Z'
      required:
        - id
        - purpose
        - filename
        - contentType
        - size
        - createdAt
    Error:
      type: object
      properties:
        error:
          type: string
          description: Stable machine-readable code.
        message:
          type: string
          description: Human-readable explanation.
        requestId:
          type: string
          description: Echoed in the x-request-id response header — quote it to support.
      required:
        - error
        - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key: `sk_test_…` (sandbox) or `sk_live_…` (production).'

````