Create an automation
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Human-readable name |
schedule | string | Yes | Cron expression (UTC), or natural language like "every Monday at 9am" |
instructions | string | Yes | What the agent should do each run |
thread_id | string | No | Thread runs append to. Defaults to a dedicated automation thread |
enabled | boolean | No | Defaults to true |
List automations
Get an automation
Update an automation
enabled to false:
Trigger a run now
run_id; watch it on the SSE stream.
Delete an automation
Errors
| Status | Error | When |
|---|---|---|
| 400 | validation_error | Invalid schedule or request body |
| 404 | not_found | Deployment or automation does not exist |

