Skip to main content
PUT
Update a scheduler

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-workspace-id
integer

Workspace id. If not provided, the user's selected workspace is used.

Path Parameters

agentId
integer
required
schedulerId
integer
required

Body

application/json
name
string
Maximum string length: 255
prompt
string
cron_expression
string | null
Maximum string length: 100
execution_timezone
string | null
Maximum string length: 50
run_once_at
string<date-time> | null
enabled
boolean
email_notification_enabled
boolean
start_new_conversation
boolean
agent_root_id_execution
integer | null
forced_stop_reason
string | null
Maximum string length: 500

Response

200

Successful response