List jobs
List every job this workspace has run, of every kind, through one envelope.
List every job this workspace has run, of every kind, through one envelope.
Authorization
bearerAuth API key authentication. Use your API key as the bearer token: Authorization: Bearer roasos_sk_...
In: header
Query Parameters
Filter by job kind.
Value in
- "image"
- "scene"
- "avatar"
- "video"
- "ugc"
- "audio"
- "voice"
- "lipsync"
- "batch"
- "research"
Filter by job status.
Value in
- "queued"
- "processing"
- "completed"
- "failed"
- "canceled"
Opaque composite pagination cursor from the previous response. Do not parse or construct it.
Number of items to return
1 <= value <= 10020Response Body
application/json
application/json
curl -X GET "https://example.com/v1/jobs"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "image", "model": "string", "status": "queued", "credits_reserved": 0, "created_at": "string", "completed_at": "string", "error": { "code": "string", "message": "string" }, "result": null, "webhook": { "status": "delivered", "attempts": 0, "last_status": "string", "delivered_at": "string", "failed_at": "string" }, "inputs": { "endpoint": "string", "request": { "property1": null, "property2": null } }, "links": { "self": "string", "status": "string", "result": "string", "events": "string" } } ], "meta": { "has_more": true, "next_cursor": "string" }}Describe the sound over time
Previous Page
Wait for jobs
The long poll. Wait for 1 to 12 jobs to finish in one call. The call reads the jobs every 2 to 5 seconds. It returns when all the jobs are completed, failed or canceled, or when `timeout_seconds` is over. Each item of `jobs` is the same object that `GET /v1/jobs/{id}/status` returns, in the order of `ids`. A job ID that is not in this workspace gives `{ id, error: { code: job_not_found } }` in its place. When `all_terminal` is false, send the call again with the IDs that are not finished. This call is free.