Skip to main content
GET
/
api
/
v1
/
cron-job-runs
/
{id}
Get Cron Job Run
curl --request GET \
  --url http://localhost:3301/api/v1/cron-job-runs/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "job_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "response_status": 123,
  "response_headers": {},
  "status": "PENDING",
  "error_message": "<string>",
  "execution_time_ms": 123,
  "started_at": "2023-11-07T05:31:56Z",
  "finished_at": "2023-11-07T05:31:56Z",
  "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

CronJobRun ID

Response

A single execution of a cron job

A single execution of a cron job

id
string<uuid>

Unique identifier

job_id
string<uuid>

Parent job ID

response_status
integer | null

HTTP response status code

response_headers
object

Response headers

status
enum<string>

Run status

Available options:
PENDING,
RUNNING,
SUCCESS,
FAILURE
error_message
string | null

Error message if failed

execution_time_ms
integer | null

Execution time in milliseconds

started_at
string<date-time> | null

When execution started

finished_at
string<date-time> | null

When execution finished

workspace_id
string<uuid>

Workspace ID

created_at
string<date-time>

Creation timestamp

updated_at
string<date-time>

Last update timestamp