GET
/
workflow-version-execution-results

Retrieve the execution results of a specific Agent version. You can include all output nodes by setting the all_outputs query parameter to true.

Please note that this feature was previously called “Workflows” and is now called “Agents”. Some references to “Workflows” remain in our SDK and will be updated before the feature exits beta.

Headers

X-API-KEY
string
required

Your API key for authentication.

Query Parameters

workflow_version_execution_id
integer
required

The unique identifier of the workflow version execution whose results you want to retrieve.

all_outputs
boolean
default:
false

When set to true, the response includes all output nodes' results. If omitted or set to false, only the main output is returned.

Response

200 - application/json
status
string
required

The status of the workflow execution.

value
any
required

The main output value of the workflow execution. The type varies based on the workflow.