Workers
Create, retrieve, and manage agent worker templates.
Create a worker template
Retrieve a worker
Update a worker template
Delete a worker template
Retrieve a worker email address
ModelsExpand Collapse
CreateWorker object { instructions, outputSchema, prompt, 3 more }
Persistent system prompt the worker uses for every task it runs.
Optional JSON Schema (Draft-07) describing the structured object the worker must produce. When set, every task response is validated against the schema and exposed as structuredOutput.
Natural-language description of the worker to use for AI-generated instructions when instructions is omitted.
Short one-line description of the worker’s purpose. Auto-generated when omitted and a prompt is provided.
UpdateWorker object { instructions, outputSchema, summary, 2 more }
Replaces the persistent system prompt. Subsequent tasks pick up the new instructions immediately; in-flight tasks keep using the previous version.
WorkersSchedules
Manage future and recurring worker tasks.
List worker schedules
Create a worker schedule
Cancel a worker schedule
ModelsExpand Collapse
WorkerSchedule = object { id, budget, input, 2 more } or object { id, budget, delayInSeconds, 3 more } or object { id, budget, cron, 3 more } or object { id, budget, input, 3 more }
WorkersWebhooks
Configure outbound webhooks delivered when a worker’s tasks complete.