Reference
Jobs
Long work in the background.
Every operation below is also in the OpenAPI document. One that names an MCP tool can be called through the MCP server; one that names none cannot.
A background job's progress#
GET /v1/jobs/{id}
Operation id getJob. MCP tool get_job. SDK tickets.jobs.retrieve.
A background job's progress: queued, running, succeeded or failed, with counts. Cancels, postponements, notices of a new time or place, imports, exports and test resets run as jobs.
Who may call it. Any one of: An API key with scope full, read. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has read (owner, admin, staff, viewer).
| Parameter | In | Type | Description |
|---|---|---|---|
id * | path | string | An id starting with job_. |
Answers 200. The job.
Fields (Job)
| Field | Type | Description |
|---|---|---|
object * | "job" | |
id * | string | An id starting with job_. |
mode * | Mode | test or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix. |
kind * | "event_cancel" | "event_postpone" | "event_changed" | "comp_import" | "test_reset" | "code_batch" | "code_batch_off" | |
status * | "queued" | "running" | "succeeded" | "failed" | |
event * | string | null | An id starting with evt_. |
progress * | object | |
errors * | array of object | |
rows * | array | null | comp_import: every row's outcome, in row order, with the order it made (null for other kinds). |
result * | object | null | kind-specific totals once finished (orders refunded, comps made). A comp_import has comps_made, rows_failed, and who was made but not sent tickets: texts_not_sent (texts off, a country not allowed, or today's texts used… |
created_by * | Actor | Who made a change. |
created_at * | string (date-time) | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
finished_at * | string | null | An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC. |
* required