Scheduled tasks API
Schedule recurring prompts for your agents using cron expressions. You can create, update, list, and delete scheduled tasks through these endpoints.
All scheduled task endpoints require session authentication. Tasks are scoped to the authenticated user — you can only manage tasks for agents you own.
List scheduled tasks
Returns all scheduled tasks for the authenticated user, sorted by creation date (newest first).
Query parameters
Response
Task object
Errors
Create a scheduled task
Creates a new scheduled task for one of your agents. The cron schedule is validated to ensure it contains 5 or 6 fields.
Request body
Example request
Response (201 Created)
Returns the created task object.
Errors
Update a scheduled task
Updates an existing scheduled task. Only the fields you include in the request body are changed.
Request body
Example request
Response
Returns the updated task object.
Errors
Delete a scheduled task
Permanently deletes a scheduled task.
Request body
Response
Errors