Gensprite
Jobs

List jobs

GET
/v1/jobs

Jobs on the account, newest first. Cursor-paginated; cursor is opaque and echoed back verbatim.

Authorization

AuthorizationBearer <token>

API key: Authorization: Bearer gsk_.... Used by the Godot plugin, the MCP server and the engine.

In: header

Query Parameters

kind?string

Value in

  • "sprite"
  • "rotation_1"
  • "rotation_4"
  • "rotation_8"
  • "animation"
status?string

Value in

  • "queued"
  • "running"
  • "completed"
  • "failed"
  • "cancelled"
limit?string

Page size, 1-100. Defaults to 20.

Match^\d+$
cursor?string

next_cursor from the previous page.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/jobs"
{  "items": [    {      "id": "string",      "kind": "sprite",      "status": "queued",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "progress": 0,      "model": "string",      "cost": {        "tokens": 0      },      "input": {        "property1": null,        "property2": null      },      "files_expired": true,      "output": {        "files": [          {            "role": "string",            "url": "http://example.com",            "content_type": "string"          }        ]      },      "error": {        "code": "invalid_request",        "message": "string",        "details": {          "property1": null,          "property2": null        }      }    }  ],  "next_cursor": "string"}