API operation · jobs group
GET
/jobs/{id}
First published 3 Oct 2026
0.1.0Unchanged since publicationGet a job with its log and result
Who may call it
AdministratorResellerCustomer
Token scope
AnyAnswers200 OK
Any signed-in user can retrieve jobs they requested. Administrators can retrieve any job, and resellers can also retrieve jobs requested by their customers. The API returns 404 if the job does not exist and 403 if the caller lacks access to it.
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
idpath ·integer, 1 or moreRequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X GET "$API/jobs/1" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"job": {
"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
},
"server_time": "text",
"timezone": "text"
}Errors
4 errors, each a status and a sentence400Invalid id401Authentication required403Insufficient privileges404Job <id> not foundNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/get-jobs-id/