Workflow exit breakdown

Search Documentation

Search across all developer documentation

workflows

Workflow exit breakdown

GET /v1/workflows/{id}/exits
Auth required api.workflows.view

Terminal-outcome aggregates (exits, completions, failures) by kind and named exit — the conversion read model.

Path parameters

id string<uuid> required

Resource UUID. An unparseable id reads as a clean 404 not_found.

Responses

Errors follow the RFC 7807 problem format — see the error reference.

200 The exit breakdown application/json
outcomes array<object> required

Each entry in outcomes:

event_type string required

exited, completed, or failed.

exit_kind string optional
exit_name string optional
count integer<int64> required
401 Missing, malformed, or unknown API key application/problem+json
403 Key lacks the required scope or plan limit violated application/problem+json
404 Resource not found application/problem+json
429 Per-org rate limit exceeded application/problem+json
500 Unexpected server-side failure. The code is internal_error. The request_id field can be quoted to SendOps support to investigate. application/problem+json