curl "https://app.runtm.com/api/cloud/v1/scheduled-agents/sa_9f3c1a" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123"
runtm-api scheduled-agents get sa_9f3c1a
{
"id": "sa_9f3c1a",
"name": "weekly-outbound",
"cron": "0 18 * * 1",
"prompt": "Build this week's outbound lists and post them for approval",
"org_template_id": "tmpl_abc123",
"template_name": "GTM Machine",
"agent": "claude-code",
"model": null,
"enabled": false,
"slack_integration_id": null,
"slack_integration_name": null,
"slack_channel_id": null,
"last_run_at": null,
"last_session_id": null,
"next_run_at": null,
"created_at": "2026-07-20T16:00:00Z",
"updated_at": null
}
Scheduled Agents
Get Scheduled Agent
Get one scheduled agent
GET
/
api
/
v1
/
scheduled-agents
/
{agent_id}
curl "https://app.runtm.com/api/cloud/v1/scheduled-agents/sa_9f3c1a" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123"
runtm-api scheduled-agents get sa_9f3c1a
{
"id": "sa_9f3c1a",
"name": "weekly-outbound",
"cron": "0 18 * * 1",
"prompt": "Build this week's outbound lists and post them for approval",
"org_template_id": "tmpl_abc123",
"template_name": "GTM Machine",
"agent": "claude-code",
"model": null,
"enabled": false,
"slack_integration_id": null,
"slack_integration_name": null,
"slack_channel_id": null,
"last_run_at": null,
"last_session_id": null,
"next_run_at": null,
"created_at": "2026-07-20T16:00:00Z",
"updated_at": null
}
Returns a single scheduled agent object. Agents outside the caller’s organization return
404.
Required scope: sessions:read (all org members)
Path Parameters
string
required
The scheduled agent ID.
Headers
string
required
Bearer token.
string
required
Organization ID.
curl "https://app.runtm.com/api/cloud/v1/scheduled-agents/sa_9f3c1a" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123"
runtm-api scheduled-agents get sa_9f3c1a
{
"id": "sa_9f3c1a",
"name": "weekly-outbound",
"cron": "0 18 * * 1",
"prompt": "Build this week's outbound lists and post them for approval",
"org_template_id": "tmpl_abc123",
"template_name": "GTM Machine",
"agent": "claude-code",
"model": null,
"enabled": false,
"slack_integration_id": null,
"slack_integration_name": null,
"slack_channel_id": null,
"last_run_at": null,
"last_session_id": null,
"next_run_at": null,
"created_at": "2026-07-20T16:00:00Z",
"updated_at": null
}