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 →
curl https://api.orq.ai/v3/agents/customer_digest/schedules \
-H "Authorization: Bearer $ORQ_API_KEY"
{
"schedules": [
{
"_id": "01KPN29WWKSK0VDPJNTKZPVNRB",
"workspace_id": "cd185327-a8a5-4e55-ac9e-51c8e8b7f0e5",
"agent_key": "customer_digest",
"type": "cron",
"expression": "0 0 9 * * mon-fri",
"is_active": true,
"generation": 2,
"payload": {
"input": "Generate the morning briefing for {{region}}",
"variables": { "region": "EMEA" }
},
"created_by_id": "apk_01KPM5XHYF7NXZ1S3XK2J8Q4B7",
"created": "2026-04-15T12:00:00Z",
"updated": "2026-04-20T09:30:00Z",
"last_triggered_at": "2026-04-20T09:00:02Z",
"trigger_count": 12
},
{
"_id": "01KPMQ9S5ZQ3K8B2XJV0N7R1GZ",
"workspace_id": "cd185327-a8a5-4e55-ac9e-51c8e8b7f0e5",
"agent_key": "customer_digest",
"type": "once",
"expression": "@at 2026-05-01T09:00:00Z",
"is_active": true,
"generation": 1,
"payload": {
"input": "Follow-up on last month's outage report"
},
"created_by_id": "apk_01KPM5XHYF7NXZ1S3XK2J8Q4B7",
"created": "2026-04-19T16:00:00Z",
"updated": "2026-04-19T16:00:00Z",
"trigger_count": 0
}
]
}
Lists all schedules attached to the specified agent, most recent first.
curl https://api.orq.ai/v3/agents/customer_digest/schedules \
-H "Authorization: Bearer $ORQ_API_KEY"
{
"schedules": [
{
"_id": "01KPN29WWKSK0VDPJNTKZPVNRB",
"workspace_id": "cd185327-a8a5-4e55-ac9e-51c8e8b7f0e5",
"agent_key": "customer_digest",
"type": "cron",
"expression": "0 0 9 * * mon-fri",
"is_active": true,
"generation": 2,
"payload": {
"input": "Generate the morning briefing for {{region}}",
"variables": { "region": "EMEA" }
},
"created_by_id": "apk_01KPM5XHYF7NXZ1S3XK2J8Q4B7",
"created": "2026-04-15T12:00:00Z",
"updated": "2026-04-20T09:30:00Z",
"last_triggered_at": "2026-04-20T09:00:02Z",
"trigger_count": 12
},
{
"_id": "01KPMQ9S5ZQ3K8B2XJV0N7R1GZ",
"workspace_id": "cd185327-a8a5-4e55-ac9e-51c8e8b7f0e5",
"agent_key": "customer_digest",
"type": "once",
"expression": "@at 2026-05-01T09:00:00Z",
"is_active": true,
"generation": 1,
"payload": {
"input": "Follow-up on last month's outage report"
},
"created_by_id": "apk_01KPM5XHYF7NXZ1S3XK2J8Q4B7",
"created": "2026-04-19T16:00:00Z",
"updated": "2026-04-19T16:00:00Z",
"trigger_count": 0
}
]
}
schedules array — empty if the agent has none.
See Agent Schedules for the full schedule document shape.
curl https://api.orq.ai/v3/agents/customer_digest/schedules \
-H "Authorization: Bearer $ORQ_API_KEY"
{
"schedules": [
{
"_id": "01KPN29WWKSK0VDPJNTKZPVNRB",
"workspace_id": "cd185327-a8a5-4e55-ac9e-51c8e8b7f0e5",
"agent_key": "customer_digest",
"type": "cron",
"expression": "0 0 9 * * mon-fri",
"is_active": true,
"generation": 2,
"payload": {
"input": "Generate the morning briefing for {{region}}",
"variables": { "region": "EMEA" }
},
"created_by_id": "apk_01KPM5XHYF7NXZ1S3XK2J8Q4B7",
"created": "2026-04-15T12:00:00Z",
"updated": "2026-04-20T09:30:00Z",
"last_triggered_at": "2026-04-20T09:00:02Z",
"trigger_count": 12
},
{
"_id": "01KPMQ9S5ZQ3K8B2XJV0N7R1GZ",
"workspace_id": "cd185327-a8a5-4e55-ac9e-51c8e8b7f0e5",
"agent_key": "customer_digest",
"type": "once",
"expression": "@at 2026-05-01T09:00:00Z",
"is_active": true,
"generation": 1,
"payload": {
"input": "Follow-up on last month's outage report"
},
"created_by_id": "apk_01KPM5XHYF7NXZ1S3XK2J8Q4B7",
"created": "2026-04-19T16:00:00Z",
"updated": "2026-04-19T16: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.
Schedules listed (empty array if none).
Show child attributes
Was this page helpful?