Create a new schedule for recurring workflow execution for an agent.
Request model for creating a new schedule for an agent
Human-readable name for the schedule (e.g., 'weekly-profiling'). Will be combined with agent_id to form the full schedule_id.
1 - 64Name of the Temporal workflow to execute (e.g., 'sae-orchestrator')
Temporal task queue where the agent's worker is listening
Parameters to pass to the workflow
Cron expression for scheduling (e.g., '0 0 * * 0' for weekly on Sunday)
Alternative to cron - run every N seconds
x >= 1Maximum time in seconds for each workflow execution
x >= 1When the schedule should start being active
When the schedule should stop being active
Whether to create the schedule in a paused state
Successful Response
Response model for schedule operations
Unique identifier for the schedule
Human-readable name for the schedule
ID of the agent this schedule belongs to
Current state of the schedule
ACTIVE, PAUSED Information about the scheduled action
Schedule specification
Number of times the schedule has executed
Number of scheduled executions that were missed
Upcoming scheduled execution times
When the schedule last executed
When the schedule was created