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

Get results for a scheduled run

GET
/v1/schedules/runs/:runId/results
GET
/v1/schedules/runs/:runId/results
$curl https://api.runtype.com/v1/schedules/runs/runId/results \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json"
1{
2 "data": [
3 {
4 "agentExecutionId": "ae7f3c9b-4d2e-4f1a-9b6d-2c3e5f7a8b9c",
5 "createdAt": "2024-06-10T15:22:30Z",
6 "error": null,
7 "executedAt": "2024-06-10T15:23:00Z",
8 "failedAt": null,
9 "flowId": "flow_12345abcde",
10 "flowName": "User Signup Validation",
11 "record": {
12 "id": "rec_98765zyxwv",
13 "name": "John Doe",
14 "type": "user"
15 },
16 "recordId": "rec_98765zyxwv",
17 "recordResultId": "res_54321qwert",
18 "status": "success"
19 }
20 ],
21 "pagination": {
22 "hasMore": false,
23 "limit": 10,
24 "offset": 0,
25 "total": 1
26 }
27}

Returns the per-record results for a specific scheduled run.

Was this page helpful?
Previous

Get schedule sparklines

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

runIdstringRequired

Response

Run results
datalist of objects
paginationobject

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error