For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • GETList schedules
      • POSTCreate a schedule
      • GETGet results for a batch execution
      • GETList all schedule runs
      • GETGet results for a scheduled run
      • GETGet schedule sparklines
      • GETGet a schedule
      • PUTUpdate a schedule
      • DELDelete a schedule
      • POSTPause a schedule
      • POSTResume a schedule
      • POSTRun a schedule immediately
      • GETList runs for a schedule
      • GETGet schedule statistics
Dashboard
LogoLogo
Runtype APISchedules

List runs for a schedule

GET
/v1/schedules/:id/runs
GET
/v1/schedules/:id/runs
$curl https://api.runtype.com/v1/schedules/id/runs \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json"
1{
2 "data": [
3 {
4 "agentExecutionId": "ae-9f8b7c6d5e4f3a2b1c0d",
5 "agentId": "agent-12345",
6 "batchExecutionId": "batch-67890",
7 "completedAt": "2024-06-10T15:45:30Z",
8 "createdAt": "2024-06-10T14:00:00Z",
9 "error": null,
10 "failedRecords": 2,
11 "flowId": "flow-abcde12345",
12 "id": "run-001122334455",
13 "processedRecords": 98,
14 "scheduleId": "schedule-98765",
15 "startedAt": "2024-06-10T14:05:00Z",
16 "status": "completed",
17 "totalRecords": 100
18 }
19 ]
20}
Returns the run history for a specific schedule, including batch execution summaries.
Was this page helpful?
Previous

Get schedule statistics

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired

Response

Schedule runs
datalist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error