GET
/
jobs
/
{jobId}
curl --request GET \
  --url https:/api.schedo.dev/api/jobs/{jobId} \
  --header 'X-API-ENVIRONMENT: <x-api-environment>'
{
  "job": {
    "blocking": true,
    "command": "<string>",
    "created_at": "<string>",
    "cron_expression": "<string>",
    "environment_id": 123,
    "id": 123,
    "key": "<string>",
    "last_run_at": "<string>",
    "max_retries": 123,
    "metadata": {},
    "muted": true,
    "name": "<string>",
    "next_run_at": "<string>",
    "paused": true,
    "retry_count": 123,
    "status": "<string>",
    "timeout": "<string>",
    "timeout_seconds": 123,
    "updated_at": "<string>"
  },
  "last_run": {
    "duration": 123,
    "end_time": "<string>",
    "error": "<string>",
    "exit_code": 123,
    "id": 123,
    "job_code": "<string>",
    "output": "<string>",
    "pick_up_time": "<string>",
    "start_time": "<string>",
    "status": "<string>"
  }
}

Headers

X-API-ENVIRONMENT
integer
required

1

Path Parameters

jobId
integer
required

1

Response

200 - application/json
OK
job
object
last_run
object