Skip to main content
GET
/
api
/
v1
/
workflows
/
{workflowId}
/
runs
/
{runId}
/
async
/
response
curl https://api.origamiagents.com/api/v1/workflows/wf_abc123/runs/run_xyz789/async/response \
  -H "x-origami-key: your-api-key"
{
  "success": true,
  "data": {
    "row_1": {
      "summary": "AI-generated summary of the input document...",
      "sentiment": "positive",
      "confidence": 0.95
    }
  }
}

Get Run Output

Returns the output data from a completed workflow run. Only call this after the run status is completed.

Path Parameters

workflowId
string
required
The unique identifier of the workflow
runId
string
required
The unique identifier of the run

Response

success
boolean
Whether the request was successful
data
object
A map of row IDs to their output values. Each row contains outputs from all output nodes in the workflow.

Output Keys

Each output node in your workflow produces a value. The key in the response is determined by:
  1. output_destination (if set) - A custom name you configure on the node
  2. node ID (fallback) - The unique identifier of the node

Example Outputs

Single Output Node

{
  "success": true,
  "data": {
    "row_1": {
      "summary": "This is the generated summary text..."
    }
  }
}

Multiple Output Nodes

{
  "success": true,
  "data": {
    "row_1": {
      "title": "Generated Title",
      "description": "Generated description text...",
      "tags": ["tag1", "tag2", "tag3"]
    }
  }
}

Multiple Rows

{
  "success": true,
  "data": {
    "row_1": {
      "result": "Output for first input"
    },
    "row_2": {
      "result": "Output for second input"
    },
    "row_3": {
      "result": "Output for third input"
    }
  }
}
curl https://api.origamiagents.com/api/v1/workflows/wf_abc123/runs/run_xyz789/async/response \
  -H "x-origami-key: your-api-key"
{
  "success": true,
  "data": {
    "row_1": {
      "summary": "AI-generated summary of the input document...",
      "sentiment": "positive",
      "confidence": 0.95
    }
  }
}