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

# List uploads

> Returns non-archived uploads newest-first. Cursor-paginated; pass the prior response's `nextCursor` to fetch the next page.



## OpenAPI

````yaml GET /uploads
openapi: 3.1.0
info:
  title: Strand AI Platform API
  version: v1
  description: >-
    REST surface for uploading WSIs, submitting Lattice inference jobs, and
    streaming results. All endpoints require an API key or Strand AI OAuth
    access token in the `Authorization: Bearer` header.
servers:
  - url: https://app.strandai.com/api/v1
    description: Production
security:
  - ApiKey: []
  - OAuth2: []
paths:
  /uploads:
    get:
      summary: List uploads for the calling org
      description: >-
        Returns non-archived uploads newest-first. Cursor-paginated; pass the
        prior response's `nextCursor` to fetch the next page.
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 100
        - name: cursor
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Upload list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadList'
        '400':
          description: Invalid limit or cursor
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    UploadList:
      type: object
      required:
        - uploads
      properties:
        uploads:
          type: array
          items:
            $ref: '#/components/schemas/Upload'
        nextCursor:
          type: string
          nullable: true
          description: Opaque cursor for the next page, or null on last page
    Error:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
        message:
          type: string
        required:
          type: integer
          nullable: true
        retryAfterSeconds:
          type: integer
          nullable: true
    Upload:
      type: object
      required:
        - id
        - filename
        - fileSize
        - status
        - gcsPath
      properties:
        id:
          type: string
          format: uuid
        filename:
          type: string
        fileSize:
          type: string
          description: bytes, stringified bigint
        status:
          type: string
          description: >-
            uploading | upload_failed | deid_running | deid_failed |
            preprocessing | ready | preprocess_failed
        gcsPath:
          type: string
        createdAt:
          type: string
          format: date-time
          nullable: true
        widthPx:
          type: integer
          nullable: true
        heightPx:
          type: integer
          nullable: true
        autoSegment:
          type: boolean
          description: >-
            Resolved auto-segmentation decision for this upload (per-upload
            override, else org default, else true).
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: sk-strand-XXXXXXXXXXXXXXXXXXXXXXXX
    OAuth2:
      type: oauth2
      description: >-
        Strand AI authorization-code flow with S256 PKCE, explicit organization
        consent, and RFC 8707 resource binding.
      flows:
        authorizationCode:
          authorizationUrl: https://auth.strandai.com/oauth2/auth
          tokenUrl: https://auth.strandai.com/oauth2/token
          scopes:
            samples:read: Read slide metadata and estimates
            samples:write: Upload and change slides
            jobs:read: Read run status
            jobs:write: Start, export, or cancel runs
            results:read: Read and download results
            credits:spend: Reserve and spend organization credits

````