Skip to main content
GET
/
public
/
workflows
/
{workflow_id}
/
executions
/
{execution_id}
import requests

response = requests.get(
    'https://api.usedari.com/public/workflows/wf_123456789/executions/exec_abc123def456',
    headers={
        'X-API-Key': 'YOUR_API_KEY'
    }
)

execution = response.json()
print(f"Status: {execution['status']}")
print(f"Variables: {execution['variables']}")
if execution['error']:
    print(f"Error: {execution['error']}")
{
  "execution_id": "exec_abc123def456",
  "workflow_id": "wf_123456789",
  "workflow_name": "My First Workflow",
  "status": "completed",
  "variables": {
    "variable_1": "user@example.com",
    "variable_2": "Extracted data value",
    "variable_3": [],
    "variable_4": true,
    "variable_5": ""
  },
  "current_step_instance_id": null,
  "step_name": null,
  "video_recording_url": "https://hyperbrowser-assets.s3.us-west-2.amazonaws.com/recordings/session_abc123/recording.mp4?X-Amz-Algorithm=...",
  "public_live_view_enabled": false,
  "created_at": "2025-01-15T14:30:00.123456+00:00",
  "completed_at": "2025-01-15T14:32:15.789012+00:00",
  "error": null,
  "logs": []
}
This endpoint provides comprehensive details about a workflow execution, including current status, variables, logs, and video recording URL. Use this to monitor execution progress, retrieve output variables, and debug failed workflows.

Path Parameters

workflow_id
string
required
The unique identifier of the parent workflow
execution_id
string
required
The unique identifier of the execution

Headers

X-API-Key
string
required
Your API key for authentication

Response Fields

execution_id
string
The unique identifier of the execution
workflow_id
string
The ID of the parent workflow
workflow_name
string
The name of the workflow
status
string
The current status: "completed", "failed", or "running"
variables
object
Key-value pairs of all workflow variables and their current values. Variable names are keys (e.g., variable_1, variable_2), values can be strings, booleans, arrays, or objects.
current_step_instance_id
string
The ID of the currently executing step (null if completed or failed)
step_name
string
The name of the current step (always null in current implementation)
video_recording_url
string
URL to the video recording of the browser session (null if not available)
public_live_view_enabled
boolean
Whether public live view is enabled for this execution
created_at
string
ISO 8601 timestamp when the execution was created
completed_at
string
ISO 8601 timestamp when the execution completed (null if still running or failed).
error
string
Error message if the execution failed (null if successful or running)
logs
array
Array of log entries from the execution. May be empty ([]) for executions without logged steps.
id
string
Unique identifier for the log entry
workflow_execution_id
string
The ID of the parent workflow execution
workflow_step_instance_id
string
The ID of the step that generated this log
attempt_number
integer
The attempt number for this step (steps may retry on failure)
success
boolean
Whether the step attempt succeeded
message
string
The log message, prefixed with step name in brackets (e.g., “[Browser Go to URL] Successful!”)
created_at
string
ISO 8601 timestamp when the log entry was created
import requests

response = requests.get(
    'https://api.usedari.com/public/workflows/wf_123456789/executions/exec_abc123def456',
    headers={
        'X-API-Key': 'YOUR_API_KEY'
    }
)

execution = response.json()
print(f"Status: {execution['status']}")
print(f"Variables: {execution['variables']}")
if execution['error']:
    print(f"Error: {execution['error']}")
{
  "execution_id": "exec_abc123def456",
  "workflow_id": "wf_123456789",
  "workflow_name": "My First Workflow",
  "status": "completed",
  "variables": {
    "variable_1": "user@example.com",
    "variable_2": "Extracted data value",
    "variable_3": [],
    "variable_4": true,
    "variable_5": ""
  },
  "current_step_instance_id": null,
  "step_name": null,
  "video_recording_url": "https://hyperbrowser-assets.s3.us-west-2.amazonaws.com/recordings/session_abc123/recording.mp4?X-Amz-Algorithm=...",
  "public_live_view_enabled": false,
  "created_at": "2025-01-15T14:30:00.123456+00:00",
  "completed_at": "2025-01-15T14:32:15.789012+00:00",
  "error": null,
  "logs": []
}
{
  "execution_id": "exec_fail789xyz012",
  "workflow_id": "wf_123456789",
  "workflow_name": "My First Workflow",
  "status": "failed",
  "variables": {
    "variable_1": "user@example.com",
    "variable_2": [],
    "variable_3": true
  },
  "current_step_instance_id": "step_456def789ghi",
  "step_name": null,
  "video_recording_url": "https://hyperbrowser-assets.s3.us-west-2.amazonaws.com/recordings/session_fail123/recording.mp4?X-Amz-Algorithm=...",
  "public_live_view_enabled": false,
  "created_at": "2025-01-15T16:00:00.123456+00:00",
  "completed_at": null,
  "error": "Workflow Cancelled",
  "logs": [
    {
      "id": "log_987654321abc",
      "workflow_execution_id": "exec_fail789xyz012",
      "workflow_step_instance_id": "step_456def789ghi",
      "attempt_number": 1,
      "success": true,
      "message": "[Browser Go to URL] Successful!",
      "created_at": "2025-01-15T16:02:00.427488"
    }
  ]
}

Usage Notes

  • API Key: Get your API key from the Dari dashboard
  • Workspace Access: You can access executions in your workflow’s workspace, including those created by other workspace members
  • Variables: Output variables are populated as steps complete. Variable names follow the pattern variable_1, variable_2, etc. Values can be strings, booleans, arrays, or objects.
  • Logs: Logs array may be empty ([]) for some executions. When present, logs are ordered chronologically and include both successful and failed step attempts.
  • Polling: For running executions, poll this endpoint periodically to check status updates

Error Responses

{
  "detail": "Invalid API key"
}
{
  "detail": "User {user_id} is not a member of workflow's workspace"
}
{
  "detail": "Workflow execution not found"
}
{
  "detail": "Error getting workflow execution details: {error_message}"
}