Skip to main content
GET
/
workflow
/
{id}
/
result
Return the result of a workflow
curl --request GET \
  --url http://localhost:3001/workflow/{id}/result
{
  "workflowId": "<string>",
  "output": "<unknown>",
  "trace": {
    "destinations": {
      "local": "<string>",
      "remote": "<string>"
    }
  },
  "status": "completed",
  "error": "<string>"
}

Path Parameters

id
string
required

The id of workflow to retrieve the result

Response

The workflow result

workflowId
string

The workflow execution id

output
any

The result of workflow, null if workflow failed

trace
object

An object with information about the trace generated by the execution

status
enum<string>

The workflow execution status

Available options:
completed,
failed,
canceled,
terminated,
timed_out,
continued
error
string | null

Error message if workflow failed, null otherwise