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
      • POSTBulk delete records
      • GETList records
      • POSTCreate record
      • GETDiscover record schema
      • GETGet field values
      • POSTPreview record filter
      • GETGet record details
      • PUTUpdate record
      • DELDelete record
      • GETGet record step results
      • GETGet record costs
      • GETGet record results
      • DELDelete record result
      • POSTBulk edit records
      • POSTUpload CSV records
Dashboard
LogoLogo
Runtype APIRecords

Get record step results

GET
/v1/records/:id/step-results
GET
/v1/records/:id/step-results
$curl https://api.runtype.com/v1/records/id/step-results \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json"
1{
2 "data": [
3 {
4 "id": "a3f1c9e2-7b4d-4f8a-9d2e-5b6c7d8e9f01",
5 "userId": "user_987654321",
6 "organizationId": "org_123456789",
7 "batchExecutionId": "batch_20240601_001",
8 "executionSessionId": "session_20240601_abc123",
9 "flowId": "flow_456def789",
10 "flowVersionId": "flowver_1.2.3",
11 "recordId": "record_20240601_0001",
12 "recordName": "Customer Onboarding - John Doe",
13 "stepId": "step_001",
14 "stepType": "api-call",
15 "stepName": "Validate Email Address",
16 "order": 1,
17 "status": "completed",
18 "startedAt": "2024-06-01T10:15:30Z",
19 "completedAt": "2024-06-01T10:15:45Z",
20 "durationMs": 15000,
21 "outputPreview": "{\"valid\":true,\"domain\":\"example.com\"}",
22 "createdAt": "2024-06-01T10:15:30Z",
23 "recordMetadata": null,
24 "stepConfig": null,
25 "inputVariables": null,
26 "resolvedPrompt": "Check if the email john.doe@example.com is valid.",
27 "modelUsed": "gpt-4-email-validator-v1",
28 "promptTokens": 45,
29 "completionTokens": 30,
30 "totalTokens": 75,
31 "estimatedCost": "0.00015",
32 "errorMessage": null,
33 "retryCount": 0
34 }
35 ],
36 "pagination": {
37 "limit": 10,
38 "offset": 0,
39 "returned": 1,
40 "hasMore": false
41 }
42}
Get unified step results for a specific record with filtering and pagination.
Was this page helpful?
Previous

Get record costs

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired

Query parameters

flowIdstringOptional
batchIdstringOptional
statusstringOptional
fromstringOptional
tostringOptional
sortBystringOptional
sortOrderstringOptional
limitstringOptional
offsetstringOptional

Response

Paginated step results
datalist of objects
paginationobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error