Skip to content

List jobs

GET /v1/jobs

List jobs (the last 30 days).

Jobs made with keys of this key’s mode (API and MCP), newest first. Pass next_cursor back as cursor for the next page; it’s null on the last. status keeps finished jobs that ended that way. view=job gives each job as GET /v1/jobs/{id} and webhook events show it (with error_code too), up to 10 a page and 250 outputs in all (a page ends early, with next_cursor, before a job that would pass them): what an automation platform’s trigger shows as samples.

API key with the read scope.

Request

Terminal window
curl "https://api.formatjet.com/v1/jobs" \
-H "Authorization: Bearer $FORMATJET_API_KEY"

Query parameters

FieldTypeDescription
limitintegerJobs per page, 1 to 100 (25 by default); with view=job, 1 to 10 (10 by default)
cursorstringThe last page’s next_cursor
statusstringOnly finished jobs that ended this way, comma-separated: completed, failed, canceled. A running job is listed as it was when it started, so it can't be found by its state now: read it with GET /v1/jobs/{id}
viewstringsummary (the default), or job: each job as GET /v1/jobs/{id} shows it, up to 10 a page and 250 outputs in all Default "summary".

Responses

200 OK

Jobs, newest first

FieldTypeDescription
dataany | object[]
data[].idstring
data[].status"created" | "awaiting_upload" | "queued" | "processing" | "completed" | "failed" | "canceled"
data[].mode"live" | "test"
data[].conversionstring
data[].creditsnumber
data[].enginestring | null
data[].engine_versionstring | null
data[].error_codestring | null
data[].created_atstring
data[].finished_atstring | null
next_cursorstring | null
Example
{
"data": [
{
"id": "job_01JBXA3Q6M2T8V4W9Y5Z7B1C3D",
"status": "completed",
"mode": "live",
"conversion": "word-to-pdf",
"credits": 2,
"engine": "office",
"engine_version": "libreoffice-25.8+runner-7",
"error_code": null,
"created_at": "2026-10-24T10:00:02.000Z",
"finished_at": "2026-10-24T10:00:06.000Z"
}
],
"next_cursor": "1761300002000.job_01JBXA3Q6M2T8V4W9Y5Z7B1C3D"
}

Errors

Problem documents (application/problem+json); see Errors.

StatusCodeWhen
400invalid_requestlimit outside 1 to 100 (10 with view=job), or a status that isn’t one a job ends in.
401unauthorizedNo API key, or one that’s unknown or revoked.
403forbiddenThe key lacks the read scope, or the plan has no API.
429rate_limitedMore requests than the plan allows in 10 seconds: wait Retry-After seconds.