This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true to the request query parameters.
Get the Job with the specified rid.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:orchestration-read.
objectstringThe RID of a Job.
stringThe RID of the Build that the Job belongs to.
stringThe time this job started waiting for the dependencies to be resolved.
stringThe time this job was finished.
string (enum)The status of the job.
Enum values: WAITING, RUNNING, SUCCEEDED, FAILED, CANCELED, DID_NOT_RUN
list<JobOutput>Outputs of the Job. Only outputs with supported types are listed here; unsupported types are omitted. Currently supported types are Dataset and Media Set outputs.
1
2
3
curl \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/orchestration/jobs/ri.foundry.main.job.aaf94076-d773-4732-a1df-3b638eb50448?preview=true"1
2
3
4
5
6
7
{
"startedTime": "2003-05-06T12:34:56.789Z",
"jobStatus": "WAITING",
"buildRid": "ri.foundry.main.build.a4386b7e-d546-49be-8a36-eefc355f5c58",
"finishedTime": "2003-05-06T12:34:56.789Z",
"rid": "ri.foundry.main.job.aaf94076-d773-4732-a1df-3b638eb50448"
}| Error Name | ||
|---|---|---|
Job | Error Code | NOT_FOUND |
| Status Code | 404 | |
| Description | The given Job could not be found. | |
| Parameters | jobRid | |
See Errors for a general overview of errors in the platform.