Skip to main content
POST
Create cron job

Authorizations

Authorization
string
header
required

Session token issued by the desktop/native auth exchange, sent as Authorization: Bearer .

Body

application/json
workspaceId
string
required
name
string
required
Required string length: 1 - 100
schedule
string
required

Cron expression (e.g. 0 9 * * *)

Required string length: 1 - 100
prompt
string
required

Task instruction for each run

Required string length: 1 - 10000
projectId
string | null
agentId
string

Agent to run

description
string
Maximum string length: 500
timezone
string
default:UTC
Maximum string length: 50

Response

201 - application/json

Cron job created

data
object