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.
  • Get Started
    • Introduction
    • Quickstart
    • Authentication
  • API Reference
      • GETList Workflows
      • POSTCreate Workflow
      • GETGet Workflow
      • PUTUpdate Workflow
      • DELDelete Workflow
      • PATCHPatch Workflow
      • GETList Workflow Uploads
      • POSTPreview Run
      • GETRuns Summary
      • GETGet Run Steps
      • GETGet Run Overview
      • GETGet Run Data
      • GETDownload Run
      • GETDownload Run Node
      • POSTDuplicate Workflow
  • Python SDK
    • Install
    • Usage
    • Errors
  • CLI
    • Overview
LogoLogo
API Referenceworkflows

Get Run Steps

GET
/api/v1/workflows/:workflow_id/runs/:run_id/steps
GET
/api/v1/workflows/:workflow_id/runs/:run_id/steps
$curl https://api.onepin.ai/api/v1/workflows/workflow_id/runs/run_id/steps \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json"
1{
2 "data": [
3 {
4 "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
5 "node_id": "node-12345",
6 "node_type": "action",
7 "status": "completed",
8 "iteration": 1,
9 "started_at": "2024-01-15T09:30:00Z",
10 "completed_at": "2024-01-15T09:35:00Z",
11 "result": {
12 "output": "Step executed successfully",
13 "recordsProcessed": 150
14 },
15 "error": null
16 }
17 ],
18 "meta": {
19 "request_id": "req_7f8e9d6c-1234-4b56-8a9b-0cdef1234567",
20 "timestamp": "2024-01-15T09:40:00Z"
21 }
22}
List steps for a workflow run.
Was this page helpful?
Previous

Get Run Overview

Next
Built with

Authentication

AuthorizationBearer
Clerk JWT token
OR
AuthorizationBearer

Onepin live API key (op_live_...). Test and public keys are reserved in Phase 1.

Path parameters

workflow_idstringRequiredformat: "uuid"
run_idstringRequiredformat: "uuid"

Headers

X-Workspace-Idstring or nullOptional

Response

Successful Response
datalist of objects
metaobject

Errors

422
Unprocessable Entity Error