GET
/
jobs
/
executions
/
{jobId}
curl --request GET \
  --url https:/api.schedo.dev/api/jobs/executions/{jobId} \
  --header 'X-API-ENVIRONMENT: <x-api-environment>'
[
  {
    "duration": 123,
    "end_time": "<string>",
    "error": "<string>",
    "exit_code": 123,
    "id": 123,
    "job_code": "<string>",
    "metadata": {},
    "output": "<string>",
    "pick_up_time": "<string>",
    "start_time": "<string>",
    "status": "<string>"
  }
]

Headers

X-API-ENVIRONMENT
integer
required

1

Path Parameters

jobId
integer
required

1

Query Parameters

cursor
integer

1

limit
integer

1

Response

200 - application/json
OK
duration
integer

Duration holds the value of the "duration" field.

end_time
string

Time when execution completed

error
string

Error message if execution failed

exit_code
integer

Exit code of the executed command

id
integer

ID of the ent.

job_code
string

JobCode holds the value of the "job_code" field.

metadata
object
output
string

Output of the executed command

pick_up_time
string

Time when execution was picked up by a worker

start_time
string

Time when execution started

status
string

Execution status (running, completed, failed, skipped, expired)