Source: https://01router.com/zh/docs/list Base URL: https://01router.com/api/v1 # 任务列表 分页查询你的生成记录(page、pageSize) `GET /api/v1/generations` 需要 Bearer API Key ## 输入参数 | Field | Type | Required | Description | Constraints | | --- | --- | --- | --- | --- | | page | integer | no | 页码,从 1 开始。 | default: 1; min: 1; max: 10000 | | pageSize | integer | no | 每页记录数,范围 1–100,默认 20。 | default: 20; min: 1; max: 100 | ## 输出字段 | Field | Type | Required | Description | Constraints | | --- | --- | --- | --- | --- | | data | array | — | 任务对象数组,字段与任务详情响应一致。 | | | total | integer | — | 匹配记录的总数。 | | | page | integer | — | 页码,从 1 开始。 | | | pageSize | integer | — | 每页记录数,范围 1–100,默认 20。 | | ## cURL ```bash curl 'https://01router.com/api/v1/generations?page=1&pageSize=20' \ -H "Authorization: Bearer $API_KEY" ``` ## 200 · application/json ```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 } ```