Get run status
Endpoints
Get run status
Retrieve the status and results of a workflow run
GET
Get run status
Overview
Use theGET /runs/{runId} endpoint to check the status of a workflow run and retrieve its results when complete.
Path Parameters
The unique identifier of the workflow run (returned when you trigger a workflow)
Example Request
Response
Unique identifier for this workflow run
Version of the workflow that was executed
Current status of the run. Possible values:
PENDING- Workflow is queuedRUNNING- Workflow is currently executingFINISHED- Workflow completed successfullyFAILED- Workflow encountered an error
ISO 8601 timestamp when the run was created
Total number of steps in the workflow
Number of steps completed so far
The workflow’s output data. Only available when
status is FINISHED.The structure matches your workflow’s Result Node configuration.Response Examples
Running workflow
Completed workflow
Failed workflow
Polling for results
Since workflows execute asynchronously, you’ll typically need to poll this endpoint to wait for completion.Example polling implementation
Best practices
Polling intervals
- Start with 2-3 second intervals
- Consider exponential backoff for long-running workflows
- Set a reasonable timeout based on your workflow’s expected duration
Error handling
Always check thestatus field and handle all possible states:
Next steps
Trigger a workflow
Learn how to trigger new workflow runs