Create Schedule
Agent Schedules & Triggers
Create Schedule
Create a recurring cron schedule for an agent
POST
Create Schedule
Authentication
Requires JWT token or Platform API key viaAuthorization: Bearer <token> header.
Path Parameters
Agent UUID
Body Parameters
Schedule name (1-255 characters)
Valid cron expression (e.g.,
0 9 * * 1-5 for weekdays at 9am)Message to send when schedule fires. Supports
{{date}}, {{time}}, {{schedule.name}} template variablesTimezone for schedule evaluation (e.g.,
America/Los_Angeles, Europe/London)Whether the schedule is active
Example Request
Response
Common Cron Expressions
| Expression | Description |
|---|---|
0 9 * * 1-5 | Every weekday at 9:00 AM |
0 */4 * * * | Every 4 hours |
0 0 * * 0 | Every Sunday at midnight |
30 14 1 * * | First day of every month at 2:30 PM |
0 8 * * 1 | Every Monday at 8:00 AM |
0 0 1 1 * | January 1st at midnight (annual) |
Template Variables
| Variable | Description | Example |
|---|---|---|
{{date}} | Current date (ISO 8601) | 2026-02-26 |
{{time}} | Current time (ISO 8601) | 14:30:00 |
{{schedule.name}} | Schedule name | Daily Standup |
Error Responses
400 Bad Request
- Invalid cron expression
- Missing required fields
- Name exceeds 255 characters
404 Not Found
- Agent not found or you don’t have access
429 Too Many Requests
- Rate limit exceeded

