Inspect a failed workflow
Self-hosted runs
With a connected self-hosted engine, Cloud Observability receives run metadata such as states, timings, and failure kinds. Workflow inputs and saved outputs stay on your engine. The run detail below uses synthetic outputs to show what you can inspect in a managed execution or read directly from your engine.
| Run | Sequence | State | Step | Duration | Engine | Updated |
|---|---|---|---|---|---|---|
| example-failed-run 2 recorded event(s) | order-fulfillment v1 | failed provider_timeout | reserve-stock | 6.0 s | Example engine | Nov 27, 2026, 9:00:06 AM UTC 2026-11-27T09:00:06.000Z |
Run detail for example-failed-run
Read-only example. Select a step to inspect its status or saved output.
Execution steps
Search and filter the run with the same tree used in Cloud.
Selected step
reserve-stock
failed{
"code": "provider_timeout",
"message": "The inventory service did not confirm the reservation."
}Synthetic workflow definition
These blocks use illustrative handler names. The preview does not run them.
read-order
{
"id": "read-order",
"type": "step",
"handler": "example_read_order"
}reserve-stock
{
"id": "reserve-stock",
"type": "step",
"handler": "example_reserve_stock"
}send-confirmation
{
"id": "send-confirmation",
"type": "step",
"handler": "example_send_confirmation"
}Timing in this trace
- read-order elapsed
- 1,000 ms
- reserve-stock elapsed
- 5,000 ms
- Queue delay
- Unavailable. The trace has no enqueue timestamp.
- Worker execution time
- Unavailable separately from step elapsed time.
- Retry backoff
- No retry recorded.
- Approval wait
- No approval step in this fixture.
Read the same fields through the Engine API
The commands read an instance on your Engine. The results below show the corresponding fields from this synthetic example.
For an Engine with API authentication enabled, add an X-API-Key header to each request.
# Set BASE_URL, TENANT_ID and INSTANCE_ID for an instance on your Engine.
instance_url="$BASE_URL/api/v1/instances/$INSTANCE_ID"
curl -fsS -H "X-Tenant-Id: $TENANT_ID" "$instance_url" | jq '{state}'
curl -fsS -H "X-Tenant-Id: $TENANT_ID" "$instance_url/tree" | jq 'map({step_id: .block_id, state, started_at, completed_at})'
curl -fsS -H "X-Tenant-Id: $TENANT_ID" "$instance_url/outputs" | jq 'map({step_id: .block_id, saved_at: .created_at, attempt})'Instance state
{
"state": "failed"
}Execution tree
[
{
"step_id": "read-order",
"state": "completed",
"started_at": "2026-11-27T09:00:00Z",
"completed_at": "2026-11-27T09:00:01Z"
},
{
"step_id": "reserve-stock",
"state": "failed",
"started_at": "2026-11-27T09:00:01Z",
"completed_at": "2026-11-27T09:00:06Z"
},
{
"step_id": "send-confirmation",
"state": "pending",
"started_at": null,
"completed_at": null
}
]Saved outputs
[
{
"step_id": "read-order",
"saved_at": "2026-11-27T09:00:01Z",
"attempt": 0
}
]