GET/root/jobs/{jobId}/runs/{runId}
Read one scheduled job run with its steps and output
Operation root.jobs.runs.get
Description
Reads one recorded run of a scheduled job: each step's status, duration, counts, and error, and the console output its steps wrote, capped per run. Only root operators may call it, and each request is recorded in the root audit trail.
Authentication
Requires a signed-in session: the client sends its session token as a bearer token in the Authorization header.
Parameters
| Name | In | Type | Details |
|---|---|---|---|
jobId | path | string | required
|
runId | path | string | required
|
Responses
200 OK
application/jsonRootJobRunResponse
One recorded run of a scheduled job with each step's result and its captured console output.
11 fields
idstringrequired- not empty
The run's id; it anchors the next page's cursor.
jobIdstringrequired- not empty
statusstringrequired- one of
running,succeeded,failed,abandoned
running, succeeded, failed, or abandoned: still recorded as running long after any invocation could have ended.
- one of
scheduledAtstringrequiredThe Cron time the platform invoked the run for.
startedAtstringrequiredfinishedAtstringrequirednullableWhen the run ended; null while it runs, or when it never ended.
durationMsintegerrequirednullable- at least 0
Milliseconds from start to end; null until the run ends.
failedStepslist of stringrequired- each item: not empty
Names of the steps that threw or counted failed items.
errorstringrequirednullableWhy the run failed, when it did.
outputobjectrequiredConsole lines the steps wrote, capped per run; omittedLines counts those dropped at the cap.
2 fields
omittedLinesintegerrequired- at least 0
Other fields are allowed.
Other fields are allowed.
Other responses
| Status | Meaning | Body |
|---|---|---|
| 400 | Bad Request |
|
| 401 | Unauthorized |
|
| 403 | Forbidden |
|
| 404 | Not Found |
|
| 500 | Internal Server Error |
|
| 503 | Service Unavailable |
|