Skip to main content
PATCH
Update Cron

Path Parameters

cron_id
string
required

Body

application/json

Request body for updating an existing cron job.

schedule
string | null
Maximum string length: 256
end_time
string<date-time> | null
input
Input · object | null
metadata
Metadata · object | null
config
Config · object | null
context
Context · object | null
webhook
string | null
Maximum string length: 2048
interrupt_before
Allowed value: "*"
interrupt_after
Allowed value: "*"
on_run_completed
enum<string> | null
Available options:
delete,
keep
multitask_strategy
string | null
Maximum string length: 256
enabled
boolean | null
stream_mode
stream_subgraphs
boolean | null
timezone
string | null
Maximum string length: 64

Response

Successful Response

Response model matching the SDK Cron TypedDict.

cron_id
string
required
assistant_id
string
required
schedule
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
thread_id
string | null
on_run_completed
enum<string> | null
Available options:
delete,
keep
end_time
string<date-time> | null
payload
Payload · object
user_id
string | null
next_run_date
string<date-time> | null
metadata
Metadata · object
enabled
boolean
default:true