API reference

List jobs

Your workspace's jobs, newest first.

GET /v1/jobs

Host https://api.open.sume.com · Auth API key

Returns jobs newest first, one page at a time. Pass next_cursor back as starting_after for the next page. Find a job you lost track of by its idempotency_key.

Request

Headers

HeaderTypeRequiredDescription
AuthorizationstringYesBearer <key>. Or send x-api-key.

Query

NameTypeRequiredDescription
limitintegerNo1–100 jobs per page.
statusstringNoqueued, processing, completed, failed or canceled.
typestringNoA job type, such as image_generation or video_generation.
starting_afterstringNoThe next_cursor from the previous page.

Example

List jobs

GET /v1/jobs?limit=20

Response

200 OK

Errors

StatuscodeWhen
400invalid_requestA query value is out of range.
401unauthorizedNo key, or the key is wrong or revoked.
429rate_limitedToo many requests for your key in this window.

All error codes