Orq MCP is live: Use natural language to interrogate traces, spot regressions, and experiment your way to optimal AI configurations. Available in Claude Desktop, Claude Code, Cursor, and more. Start now →
Creates a schedule that runs the agent on a recurring or one-off cadence. The minimum firing interval is 1 hour for cron and interval; once schedules are exempt.
curl -X POST https://api.orq.ai/v3/agents/customer_digest/schedules \
-H "Authorization: Bearer $ORQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "interval",
"expression": "@every 1h",
"payload": {
"input": "Summarize new tickets from the last hour"
}
}'
{
"_id": "01KPN29WWKSK0VDPJNTKZPVNRB",
"workspace_id": "cd185327-a8a5-4e55-ac9e-51c8e8b7f0e5",
"agent_key": "customer_digest",
"type": "interval",
"expression": "@every 1h",
"is_active": true,
"generation": 1,
"payload": {
"input": "Summarize new tickets from the last hour"
},
"created_by_id": "apk_01KPM5XHYF7NXZ1S3XK2J8Q4B7",
"created": "2026-04-20T10:00:00Z",
"updated": "2026-04-20T10:00:00Z",
"trigger_count": 0
}
Schedules run an agent on a recurring or one-off cadence through the same execution path asDocumentation Index
Fetch the complete documentation index at: https://docs.orq.ai/llms.txt
Use this file to discover all available pages before exploring further.
POST /v3/router/responses. Minimum firing interval is 1 hour for cron and interval types; once is exempt.
For a full guide on expressions, payloads, lifecycle, and worked examples see Agent Schedules.
curl -X POST https://api.orq.ai/v3/agents/customer_digest/schedules \
-H "Authorization: Bearer $ORQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "interval",
"expression": "@every 1h",
"payload": {
"input": "Summarize new tickets from the last hour"
}
}'
{
"_id": "01KPN29WWKSK0VDPJNTKZPVNRB",
"workspace_id": "cd185327-a8a5-4e55-ac9e-51c8e8b7f0e5",
"agent_key": "customer_digest",
"type": "interval",
"expression": "@every 1h",
"is_active": true,
"generation": 1,
"payload": {
"input": "Summarize new tickets from the last hour"
},
"created_by_id": "apk_01KPM5XHYF7NXZ1S3XK2J8Q4B7",
"created": "2026-04-20T10:00:00Z",
"updated": "2026-04-20T10:00:00Z",
"trigger_count": 0
}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique routing key of the agent the schedule belongs to.
Schedule expression. Examples: cron '0 0 9 * * mon-fri' (9am UTC weekdays), interval '@every 1h', once '@at 2026-05-01T09:00:00Z'. Minimum firing cadence is 1 hour for cron and interval.
Invocation payload delivered to the agent on every firing.
Show child attributes
Schedule type. cron uses 6-field cron expressions; interval uses @every ; once uses @at .
cron, once, interval Pin this schedule to a specific agent version. Omit to always use the active version.
Schedule created.
ULID identifying this schedule.
ID of the API key that created the schedule.
Cron expression (6-field, seconds required), @every duration, @at RFC3339 timestamp, or a predefined descriptor like @hourly/@daily.
Monotonic counter bumped when the schedule's firing cadence changes. Used by the consumer to skip stale in-flight triggers.
Whether the schedule is currently firing. once schedules flip to false automatically after firing.
Show child attributes
Total firings since creation or last expression/type change.
Schedule type.
cron, once, interval Pinned agent version. Omit to always run the agent's current active version.
Timestamp of the most recent firing, if any.
Was this page helpful?
curl -X POST https://api.orq.ai/v3/agents/customer_digest/schedules \
-H "Authorization: Bearer $ORQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "interval",
"expression": "@every 1h",
"payload": {
"input": "Summarize new tickets from the last hour"
}
}'
{
"_id": "01KPN29WWKSK0VDPJNTKZPVNRB",
"workspace_id": "cd185327-a8a5-4e55-ac9e-51c8e8b7f0e5",
"agent_key": "customer_digest",
"type": "interval",
"expression": "@every 1h",
"is_active": true,
"generation": 1,
"payload": {
"input": "Summarize new tickets from the last hour"
},
"created_by_id": "apk_01KPM5XHYF7NXZ1S3XK2J8Q4B7",
"created": "2026-04-20T10:00:00Z",
"updated": "2026-04-20T10:00:00Z",
"trigger_count": 0
}