Skip to content

Schedules

Schedules run an agent on a cron expression. See Scheduling & loops for concepts; scheduled runs only fire while the agent’s autonomy is on.

EndpointMethodDescription
/api/agents/{name}/schedulesGETList schedules
/api/agents/{name}/schedulesPOSTCreate a schedule
/api/agents/{name}/schedules/{id}GET / PUT / DELETERead, update, delete
/api/agents/{name}/schedules/{id}/enablePOSTEnable
/api/agents/{name}/schedules/{id}/disablePOSTDisable
/api/agents/{name}/schedules/{id}/triggerPOSTRun now
/api/agents/{name}/schedules/{id}/executionsGETRun history
/api/agents/{name}/schedules/{id}/webhookPOST / GET / DELETEWebhook trigger
Terminal window
curl -X POST https://acme.exohuman.cc/api/agents/research-analyst/schedules \
-H "Authorization: Bearer $EXOHUMAN_API_KEY" -H 'Content-Type: application/json' \
-d '{
"name": "Weekly competitor report",
"cron_expression": "0 8 * * 1",
"timezone": "Europe/Madrid",
"message": "Compile the weekly competitor report and post it to #strategy."
}'
FieldDefaultDescription
name—Display name (required)
cron_expression—Standard 5-field cron (required)
message—What the agent should do (required)
timezoneUTCIANA time zone
enabledtrueWhether it fires
description—Notes
modelagent defaultModel override
allowed_toolsallRestrict tools
timeout_secondsagent timeoutPer-run timeout
max_retries0Retries on failure (1–5 to opt in)
retry_delay_seconds60Delay between retries (30–600)
validation_enabledfalseRun a post-execution validation pass
validation_promptdefaultCustom auditor instructions

The agent must exist and not be deleted. Creating and changing schedules requires permission to manage the agent’s schedules (the owner or an admin).

Terminal window
curl -X POST https://acme.exohuman.cc/api/agents/research-analyst/schedules/$SCHEDULE_ID/trigger \
-H "Authorization: Bearer $EXOHUMAN_API_KEY"

The run appears in the schedule’s executions and in the agent’s logs.