Inspect a failed workflow

Synthetic order fulfillment run in the Orch8 Cloud execution view.

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.

Self-hosted runs
RunSequenceStateStepDurationEngineUpdated
example-failed-run

2 recorded event(s)

order-fulfillment v1failed

provider_timeout

reserve-stock6.0 sExample engine

Nov 27, 2026, 9:00:06 AM UTC

2026-11-27T09:00:06.000Z

Connect a self-hosted engine

Run detail for example-failed-run

Failed

Read-only example. Select a step to inspect its status or saved output.

Download synthetic trace JSON

Execution steps

Search and filter the run with the same tree used in Cloud.

3 of 3 steps

Selected step

reserve-stock

failed
{
  "code": "provider_timeout",
  "message": "The inventory service did not confirm the reservation."
}
View reserve-stock definition

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.

See recorded approval, rejection, and timeout timings

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
  }
]