Create a schedule
Creates a new schedule that periodically runs an agent with a given prompt and delivery target, according to the supplied trigger. If agent_id is omitted the workspace’s default enabled agent is used, and a non-existent agent_id returns 404. The new schedule is owned by the caller. Returns 201 with the created schedule; if the workspace plan’s schedule limit has been reached the request fails with 402. Requires the schedules:write scope.
Authorizations
Personal Access Token. Send as Authorization: Bearer hq_pat_....
Body
Optional BCP-47 locale override for this schedule's deliveries.
Falls back to the owner's workspace_users.locale when absent.
Response
Created