API referenceWorkflows
Get Run
GET
Get a specific run with step details.
Required scope: workflows:read
header
AuthorizationBearer <luso8_sk_live_<40 characters>>A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.
workflow_id*Workflow Idrun_id*Run IdSuccessful Response
application/json- response
id*Idworkflow_id*Workflow Idorganization_id*Organization Idtriggered_by?string|nullstatus*WorkflowRunStatusValue in
"pending""running""waiting""completed""failed""cancelled"trigger_type?|nulltrigger_data?|nullinput_data?|nulloutput_data?|nullcurrent_step_id?string|nullsteps_completed?Steps CompletedDefault
0total_steps?Total StepsDefault
0error_message?string|nullerror_step_id?string|nullcontext?|nullstarted_at?|nullcompleted_at?|nullduration_seconds?number|nullcreated_at*Created AtFormat
date-timestep_runs?array<>Default
[]curl -X GET 'https://api.luso8.rexplore.ai/api/v1/ai-workflows/string/runs/string'Example Response
{ "id": "string", "workflow_id": "string", "organization_id": "string", "triggered_by": "string", "status": "pending", "trigger_type": "manual", "trigger_data": {}, "input_data": {}, "output_data": {}, "current_step_id": "string", "steps_completed": 0, "total_steps": 0, "error_message": "string", "error_step_id": "string", "context": {}, "started_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z", "duration_seconds": 0, "created_at": "2019-08-24T14:15:22Z", "step_runs": []}