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 batch execution

GET
/v1/schedules/batch/:batchId/results
GET
/v1/schedules/batch/:batchId/results
$curl https://api.runtype.com/v1/schedules/batch/batchId/results \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json"
1{
2 "data": [
3 {
4 "agentExecutionId": "ae7f9c2d-4b3e-4f1a-9d2b-8c3e5f7a1b2c",
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 Onboarding Flow",
11 "record": {
12 "id": "rec_98765zyxwv",
13 "name": "John Doe",
14 "type": "user"
15 },
16 "recordId": "rec_98765zyxwv",
17 "recordResultId": "res_54321qwert",
18 "status": "completed"
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 batch execution.

Was this page helpful?
Previous

List all schedule runs

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

batchIdstringRequired

Query parameters

limitstringOptional
offsetstringOptional
statusstringOptional

Response

Batch results
datalist of objects
paginationobject

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error