Create Schedule
Create a new schedule for recurring workflow execution for an agent.
Path parameters
Request body
Human-readable name for the schedule (e.g., 'weekly-profiling'). Will be combined with agent_id to form the full schedule_id.
Name 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
Maximum time in seconds for each workflow execution
When the schedule should start being active
When the schedule should stop being active
Whether to create the schedule in a paused state
Response
Successful Response
Unique identifier for the schedule
Human-readable name for the schedule
ID of the agent this schedule belongs to
Schedule state enum
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