/jobs
0.1.0Unchanged since publicationList jobs newest first
AnyAdministrators see all jobs. Resellers see jobs requested by themselves or their customers. Customers see jobs they requested.
By default, the list includes jobs requested or finished within the effective jobs.show_days window, plus all queued and running jobs. Set older to true to include all retained jobs you can access. Use state, type, and q to filter the list and page and limit to paginate it. Invalid page or limit values return 400. Retrieve job logs through GET /jobs/{id}.
For queued and running jobs, usual_seconds gives the typical duration in seconds. UrbeStack considers the 200 most recent successful runs of the same type with recorded start and finish times and uses up to 20 runs with the same subject. The value is the median duration, using the lower of the two middle values for an even sample, or null if no matching duration is available.
Parameters
olderquery ·booleanstatequery ·string, up to 40 characterstypequery ·string, up to 40 charactersqquery ·string, up to 200 characterspagequery ·integer, 1 or morelimitquery ·integer, 1 to 1000Example
See the API overview for how to set $API and $TOKEN.curl -sS -X GET "$API/jobs?older=1&state=text&type=rebuild&q=text&page=1&limit=1" \ -H "Authorization: Bearer $TOKEN"
200 OK{
"counts": {
"done": 1,
"failed": 1,
"queued": 1,
"running": 1
},
"jobs": [
{
"created_at": "2026-09-09T10:15:00Z",
"created_by": 1,
"created_by_name": "text",
"dismissed_at": "text",
"finished_at": "2026-09-09T10:15:04Z",
"id": 1,
"lane": "short",
"log": "",
"params": {},
"progress": 100,
"result": {},
"started_at": "2026-09-09T10:15:01Z",
"status": "queued",
"type": "rebuild",
"usual_seconds": 1
}
],
"keep_days": 1,
"kept": {
"since": "text",
"total": 1
},
"more": true,
"older": true,
"page": 1,
"pages": 1,
"per_page": 1,
"server_time": "text",
"show_days": 1,
"timezone": "text",
"total": 1
}Errors
7 errors, each a status and a sentence400Invalid <what>: expected a non-negative integer400Invalid boolean400Invalid setting key400limit is a number from 1 to 1000400page is a number from 1401Authentication required404Setting '<key>' not foundurbestack.com/docs/api/get-jobs/