Jobs
Get Job Run
Get Job Run for provided jobRunName and jobId
GET
/
api
/
svc
/
v1
/
jobs
/
{jobId}
/
runs
/
{jobRunName}
curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/jobs/{jobId}/runs/{jobRunName} \
--header 'Authorization: Bearer <token>'
{
"data": {
"name": "<string>",
"applicationName": "<string>",
"deploymentVersion": "<string>",
"createdAt": 123,
"endTime": 123,
"duration": 123,
"command": "<string>",
"totalRetries": 123,
"error": "<string>",
"status": "CREATED",
"triggeredBy": "<string>",
"triggeredBySubject": {
"subjectId": "<string>",
"subjectType": "user",
"subjectSlug": "<string>",
"subjectDisplayName": "<string>"
},
"exitCode": 123
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Application Id of JOB
Job run name of the application
Response
200
application/json
Return JobRun details of the provided jobRunName
JobRun
JobRun Name
Application Name
Deployment Version
Created At
Command
Total Retries
Status of JobRun
Available options:
CREATED
, SCHEDULED
, RUNNING
, FINISHED
, FAILED
, TERMINATION_REQUESTED
, TERMINATING
, TERMINATED
, UNKNOWN
End Time of JobRun
Duration of JobRun
Error
Triggered By
Triggered By Subject
Subject ID
Subject type
Available options:
user
, team
, serviceaccount
Subject slug
Subject display name
Exit Code
curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/jobs/{jobId}/runs/{jobRunName} \
--header 'Authorization: Bearer <token>'
{
"data": {
"name": "<string>",
"applicationName": "<string>",
"deploymentVersion": "<string>",
"createdAt": 123,
"endTime": 123,
"duration": 123,
"command": "<string>",
"totalRetries": 123,
"error": "<string>",
"status": "CREATED",
"triggeredBy": "<string>",
"triggeredBySubject": {
"subjectId": "<string>",
"subjectType": "user",
"subjectSlug": "<string>",
"subjectDisplayName": "<string>"
},
"exitCode": 123
}
}