Body
Schema for creating a new job
Job name
1 - 255Trigger type: 'cron', 'webhook', or 'manual'
Prompt template (can include {{variables}} for dynamic params)
Job description
Whether the job is enabled
Cron expression (e.g., '0 17 * * *' for daily at 5pm)
Timezone for cron schedule (e.g., 'America/New_York')
Planning mode: 'on_the_fly', 'predefined_agent', 'predefined_team', or 'predefined_workflow'
Entity type: 'agent', 'team', or 'workflow'
Entity ID (agent_id, team_id, or workflow_id)
Optional system prompt
Executor routing: 'auto', 'specific_queue', or 'environment'
Worker queue name for 'specific_queue' executor type
Environment name for 'environment' executor type
Additional execution config (timeout, retry, etc.)
Execution environment: env vars, secrets, integrations Execution environment configuration for jobs
Response
Successful Response
Schema for job response
Execution environment configuration for jobs
Full webhook URL (generated from webhook_url_path)
Webhook HMAC secret for signature verification