Skip to main content
POST
Create Cron Job

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json
name
string
required

Job name

Required string length: 1 - 255
schedule_interval_minutes
integer
required

Interval in minutes between runs

Required range: x >= 1
request_url
string<uri>
required

URL to call

schedule_start_minute
integer

Starting minute for the schedule

Required range: 0 <= x <= 59
request_method
enum<string>

HTTP method

Available options:
GET,
POST,
PUT,
DELETE
request_headers
object | null

HTTP headers

request_body
object | null

Request body for POST/PUT

is_enabled
boolean

Whether the job is enabled

Response

A scheduled job that makes HTTP requests at specified intervals

A scheduled job that makes HTTP requests at specified intervals

id
string<uuid>

Unique identifier

name
string

Job name

Required string length: 1 - 255
schedule_interval_minutes
integer

Interval in minutes between runs

Required range: x >= 1
schedule_start_minute
integer

Starting minute for the schedule

Required range: 0 <= x <= 59
request_url
string<uri>

URL to call

request_method
enum<string>

HTTP method

Available options:
GET,
POST,
PUT,
DELETE
request_headers
object | null

HTTP headers

request_body
object | null

Request body for POST/PUT

runs_count
integer

Total number of runs

success_run_count
integer

Number of successful runs

failure_run_count
integer

Number of failed runs

last_run_at
string<date-time> | null

Last run timestamp

next_run_at
string<date-time> | null

Next scheduled run

is_enabled
boolean

Whether the job is enabled

workspace_id
string<uuid>

Workspace ID

owner_id
string<uuid>

Owner user ID

created_at
string<date-time>

Creation timestamp

updated_at
string<date-time>

Last update timestamp