Skip to main content
GET
/
v1
/
switchx
/
generations
List Jobs
curl --request GET \
  --url https://api.modal.beeble.ai/v1/switchx/generations \
  --header 'x-api-key: <api-key>'
{
  "jobs": [
    {
      "id": "<string>",
      "status": "<string>",
      "progress": 123,
      "generation_type": "<string>",
      "alpha_mode": "<string>",
      "output": {
        "render": "<string>",
        "source": "<string>",
        "alpha": "<string>"
      },
      "error": "<string>",
      "created_at": "<string>",
      "modified_at": "<string>",
      "completed_at": "<string>"
    }
  ],
  "next_page_token": "<string>"
}

Authorizations

x-api-key
string
header
required

Query Parameters

limit
integer
default:20

Number of items per page

Required range: 1 <= x <= 100
page_token
string | null

Pagination token

Response

200 - application/json

Successful Response

Paginated list of SwitchX jobs.

jobs
SwitchXStatusResponse · object[]
next_page_token
string | null

Pass as page_token to fetch the next page. Null when no more results.