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

# List Jobs

> List your SwitchX jobs with cursor-based pagination.



## OpenAPI

````yaml https://api.beeble.ai/developer-api-docs/openapi.json get /v1/switchx/generations
openapi: 3.1.0
info:
  title: Beeble Developer API
  description: API for SwitchX video-to-video compositing and media uploads.
  version: 1.0.0
servers:
  - url: https://api.beeble.ai
    description: Production
security:
  - apiKeyAuth: []
paths:
  /v1/switchx/generations:
    get:
      tags:
        - switchx
      summary: List Jobs
      description: List your SwitchX jobs with cursor-based pagination.
      operationId: list_switchx_jobs_v1_switchx_generations_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Number of items per page
            default: 20
            title: Limit
          description: Number of items per page
        - name: page_token
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Pagination token
            title: Page Token
          description: Pagination token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SwitchXListResponse'
components:
  schemas:
    SwitchXListResponse:
      properties:
        jobs:
          items:
            $ref: '#/components/schemas/SwitchXStatusResponse'
          type: array
          title: Jobs
        next_page_token:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Page Token
          description: >-
            Pass as page_token to fetch the next page. Null when no more
            results.
      type: object
      title: SwitchXListResponse
      description: Paginated list of SwitchX jobs.
    SwitchXStatusResponse:
      properties:
        id:
          type: string
          title: Id
          description: Job identifier (swx_...)
        status:
          type: string
          title: Status
          description: in_queue, processing, completed, or failed
        progress:
          anyOf:
            - type: integer
            - type: 'null'
          title: Progress
          description: Progress percentage (0-100)
          examples:
            - 72
        generation_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Generation Type
          description: '''image'' or ''video'''
        alpha_mode:
          anyOf:
            - type: string
            - type: 'null'
          title: Alpha Mode
          description: '''auto'', ''fill'', ''custom'', or ''select'''
        output:
          anyOf:
            - $ref: '#/components/schemas/SwitchXOutputUrls'
            - type: 'null'
          description: >-
            Output URLs (present when status is completed). URLs are signed and
            expire after **72 hours**. Each call to this endpoint generates
            fresh signed URLs, so you can always re-fetch if a URL has expired.
        seed:
          anyOf:
            - type: integer
            - type: 'null'
          title: Seed
          description: >-
            Random seed used for this generation (always present after job
            creation)
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
          description: Error message (present when status is failed)
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
          description: ISO 8601 timestamp when the job was created
        modified_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Modified At
          description: ISO 8601 timestamp of the last status change
        completed_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Completed At
          description: ISO 8601 timestamp when the job completed or failed
        webhook:
          anyOf:
            - $ref: '#/components/schemas/WebhookStatus'
            - type: 'null'
          description: >-
            Webhook delivery status (present only when a callback_url was
            provided)
      type: object
      required:
        - id
        - status
      title: SwitchXStatusResponse
      description: Status response for a SwitchX job.
    SwitchXOutputUrls:
      properties:
        render:
          anyOf:
            - type: string
            - type: 'null'
          title: Render
          description: Composited output URL
        source:
          anyOf:
            - type: string
            - type: 'null'
          title: Source
          description: Preprocessed source URL
        alpha:
          anyOf:
            - type: string
            - type: 'null'
          title: Alpha
          description: Alpha matte URL
      type: object
      title: SwitchXOutputUrls
      description: Signed URLs for SwitchX job outputs.
    WebhookStatus:
      properties:
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
          description: '''pending'', ''delivered'', or ''failed'''
        attempts:
          anyOf:
            - type: integer
            - type: 'null'
          title: Attempts
          description: Number of delivery attempts so far
          examples:
            - 1
        last_error:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Error
          description: Error message from the last failed delivery attempt
      type: object
      title: WebhookStatus
      description: Webhook delivery status for a generation job.
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your [Developer API key](/api/authentication).

````