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 all schedule runs

GET
/v1/schedules/runs/all
GET
/v1/schedules/runs/all
$curl https://api.runtype.com/v1/schedules/runs/all \
> -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": 0,
11 "flowId": "flow-abcde12345",
12 "id": "run-001122334455",
13 "processedRecords": 150,
14 "scheduleId": "schedule-98765",
15 "startedAt": "2024-06-10T14:05:00Z",
16 "status": "completed",
17 "totalRecords": 150
18 }
19 ],
20 "pagination": {
21 "currentOffset": 0,
22 "hasMore": true,
23 "hasPrev": false,
24 "limit": 20,
25 "nextCursor": "cursor-xyz123",
26 "prevCursor": null,
27 "currentPage": 1,
28 "totalCount": 125,
29 "totalPages": 7
30 }
31}
Returns a paginated list of all runs across the user's schedules.
Was this page helpful?
Previous

Get results for a scheduled run

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Query parameters

limitstringOptional
cursorstringOptional
directionenumOptional
Allowed values:

Response

All runs
datalist of objects
paginationobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error