API docsAPI reference

List generations

List your generations (page, pageSize)

GET/api/v1/generationsBearer API key

Request

cURL
curl 'https://01router.com/api/v1/generations?page=1&pageSize=20' \
  -H "Authorization: Bearer $API_KEY"

Input parameters

Query / path parameters
page
integerOptional

Page number, starting at 1.

Default:1
Minimum:1
Maximum:10000
pageSize
integerOptional

Results per page, from 1 to 100; default 20.

Default:20
Minimum:1
Maximum:100

Response example

200 · application/json
{
  "object": "list",
  "data": [
    {
      "id": "gen_example",
      "object": "generation",
      "model": "seedance-2.5",
      "type": "video",
      "provider": "01router",
      "status": "processing",
      "input": {
        "prompt": "A red fox running through fresh snow, cinematic"
      },
      "outputs": [],
      "error": null,
      "credits": 100,
      "price_usd": 1,
      "created_at": "2026-10-25T08:00:00.000Z",
      "completed_at": null
    }
  ],
  "total": 1,
  "page": 1,
  "pageSize": 20
}

Responses are illustrative. IDs, usage, prices and results depend on the actual request.

Response fields

data
array

Generation objects with the same fields as the generation detail response.

total
integer

Total number of matching records.

page
integer

Page number, starting at 1.

pageSize
integer

Results per page, from 1 to 100; default 20.

Use with AI

Give your coding assistant the documentation index or the full API reference, including live model parameters.