Get execution details
Get the current status and output of a workflow execution
Documentation Index
Fetch the complete documentation index at: https://docs.eachlabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication
Path Parameters
Execution identifier
"exec_xyz789"
Response
Execution details
Execution details returned by both GET /executions/{id} and webhook notifications.
Webhook Notifications
When you provide a webhook_url when triggering a workflow, this same structure
will be POSTed to your webhook URL when the execution completes.
Unique execution identifier (UUID format)
"69ae8c7b-7500-4a45-b7c0-348b8cc2665b"
Workflow identifier (UUID format)
"50741f40-8621-4d46-8a91-dff4d873be98"
Current execution status:
running- Workflow is currently executingcompleted- Workflow finished successfullyfailed- Workflow encountered an errorcancelled- Workflow was cancelled by user
running, completed, failed, cancelled "completed"
Bulk operation identifier (only present for executions triggered via bulk-trigger endpoint).
All executions from the same bulk operation share this ID, allowing you to:
- Query all executions from a bulk operation together
- Track batch progress
- Correlate webhook notifications from related executions
"550e8400-e29b-41d4-a716-446655440000"
RFC3339 timestamp when the execution started
"2025-12-04T11:48:10Z"
RFC3339 timestamp when the execution completed (omitted for running executions)
"2025-12-04T11:50:53Z"
Input parameters provided when triggering the workflow
{
"story": "tell an epic story of a rat graduating from law"
}
Complete outputs from all workflow steps. Each key is a step ID (e.g., "step1", "step2"),
and the value is a StepOutput object containing detailed information about that step's execution.
{
"step1": {
"step_id": "step1",
"status": "completed",
"started_at": "2025-12-04T11:48:10Z",
"completed_at": "2025-12-04T11:48:39Z",
"output": "Once upon a time...",
"primary": "Once upon a time...",
"metadata": {
"model": "openai-chatgpt-5",
"version": "0.0.1",
"params": {
"system_prompt": "You are a helpful assistant",
"user_prompt": "tell an epic story of a rat graduating from law",
"max_output_tokens": 512
}
}
},
"step2": {
"step_id": "step2",
"status": "completed",
"started_at": "2025-12-04T11:48:39Z",
"completed_at": "2025-12-04T11:50:53Z",
"output": [
"https://storage.googleapis.com/uploads/image1.png",
"https://storage.googleapis.com/uploads/image2.png"
],
"primary": "https://storage.googleapis.com/uploads/image1.png",
"metadata": {
"model": "nano-banana-pro",
"version": "0.0.1",
"params": {
"prompt": "Generate images based on the story",
"num_images": 2,
"aspect_ratio": "16:9",
"resolution": "1K",
"output_format": "png"
}
}
}
}
Output from the last completed step in the workflow. This provides quick access to the final result without navigating step_outputs.
Important: This field is only populated when the workflow status is completed.
- For
runningworkflows: null (even if some steps have completed) - For
failedworkflows: null - For
cancelledworkflows: null - For
completedworkflows: contains output from the chronologically last step
The last step is determined by the latest completed_at timestamp.
The value is extracted from the step's output field, or primary field as fallback.
The type varies based on the workflow's final step:
- Text generation steps return a string
- Image generation steps return an array of URLs
- Structured data steps return an object
[
"https://storage.googleapis.com/uploads/image1.png",
"https://storage.googleapis.com/uploads/image2.png"
]
High-level error message (only present if status is "failed")
"ExecutionFailed"
Detailed error cause with context (only present if status is "failed")
"Step 'generate_image' failed: Model timeout after 30s"