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 →
Partially updates a schedule. Any omitted field is left unchanged. Changing expression or type (or reactivating from inactive) re-publishes the NATS schedule and bumps generation; payload-only and agent_tag-only changes leave the firing cadence in place.
curl -X PATCH https://api.orq.ai/v3/agents/customer_digest/schedules/01KPN29WWKSK0VDPJNTKZPVNRB \
-H "Authorization: Bearer $ORQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "is_active": false }'
{
"_id": "01KPN29WWKSK0VDPJNTKZPVNRB",
"agent_key": "customer_digest",
"type": "cron",
"expression": "0 0 9 * * mon-fri",
"is_active": false,
"generation": 2,
"payload": {
"input": "Generate the morning briefing for {{region}}",
"variables": { "region": "EMEA" }
},
"updated": "2026-04-20T10:15:00Z",
"trigger_count": 12
}
Partial update — omitted fields are left unchanged. ChangingDocumentation Index
Fetch the complete documentation index at: https://docs.orq.ai/llms.txt
Use this file to discover all available pages before exploring further.
expression or type (or reactivating from inactive) reschedules the job and bumps generation. Payload-only and agent_tag-only changes leave the firing cadence in place.
See Agent Schedules for the full lifecycle model.
curl -X PATCH https://api.orq.ai/v3/agents/customer_digest/schedules/01KPN29WWKSK0VDPJNTKZPVNRB \
-H "Authorization: Bearer $ORQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "is_active": false }'
{
"_id": "01KPN29WWKSK0VDPJNTKZPVNRB",
"agent_key": "customer_digest",
"type": "cron",
"expression": "0 0 9 * * mon-fri",
"is_active": false,
"generation": 2,
"payload": {
"input": "Generate the morning briefing for {{region}}",
"variables": { "region": "EMEA" }
},
"updated": "2026-04-20T10:15:00Z",
"trigger_count": 12
}
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.
The schedule's ULID, as returned from create.
Change the pinned agent version.
Update the schedule expression. Minimum firing cadence is 1 hour for cron and interval.
Activate or deactivate the schedule. Deactivating removes the NATS entry; activating re-publishes with current values.
Update the invocation payload. Payload-only changes do not reset the firing cadence or bump generation.
Show child attributes
Change the schedule type. Changing type or expression resets the NATS schedule and bumps generation.
cron, once, interval Schedule updated.
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 PATCH https://api.orq.ai/v3/agents/customer_digest/schedules/01KPN29WWKSK0VDPJNTKZPVNRB \
-H "Authorization: Bearer $ORQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "is_active": false }'
{
"_id": "01KPN29WWKSK0VDPJNTKZPVNRB",
"agent_key": "customer_digest",
"type": "cron",
"expression": "0 0 9 * * mon-fri",
"is_active": false,
"generation": 2,
"payload": {
"input": "Generate the morning briefing for {{region}}",
"variables": { "region": "EMEA" }
},
"updated": "2026-04-20T10:15:00Z",
"trigger_count": 12
}