Create a new agent.
Agents are automated tasks that run on a schedule. Requires:
Optional:
Zo API key (zo_sk_...)
Recurrence rule in iCalendar RRULE format (e.g., 'FREQ=DAILY;BYHOUR=9')
Instructions for what the agent should do when triggered
Human-readable name for the agent
How to notify on completion: 'email' or 'sms'
email, sms AI model ID to use (defaults to system default)
Successful Response
Unique agent identifier
Recurrence rule in iCalendar RRULE format
Instructions the agent executes
ISO 8601 creation timestamp
ISO 8601 last update timestamp
ISO 8601 timestamp of next scheduled execution, or null if paused
Whether times are in UTC
Human-readable name
Notification method on completion
email, sms AI model ID used for execution
Whether the agent is active and will run on schedule