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": {
    "bcf88898-fc5f-410b-b749-0c65b2902d3e": {
      "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 objects. Each row’s output contains the field mappings you configured in your Output node(s).

Example Outputs

Single Row

{
  "success": true,
  "data": {
    "bcf88898-fc5f-410b-b749-0c65b2902d3e": {
      "summary": "This is the generated summary text..."
    }
  }
}

Multiple Fields

{
  "success": true,
  "data": {
    "bcf88898-fc5f-410b-b749-0c65b2902d3e": {
      "title": "Generated Title",
      "description": "Generated description text...",
      "tags": ["tag1", "tag2", "tag3"]
    }
  }
}

Multiple Rows

{
  "success": true,
  "data": {
    "row-id-1": {
      "result": "Output for first input"
    },
    "row-id-2": {
      "result": "Output for second input"
    },
    "row-id-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": {
    "bcf88898-fc5f-410b-b749-0c65b2902d3e": {
      "summary": "AI-generated summary of the input document...",
      "sentiment": "positive",
      "confidence": 0.95
    }
  }
}