Analytics
Get Sequence Outcomes
Retrieve per-path branch splits and post-step cohort conversion rates for a sequence.
GET
Get Sequence Outcomes
Returns per-path traffic splits and post-step cohort conversion rates for every
branch, condition, and action step in a sequence, alongside a baseline across
all enrollments. Use this endpoint to measure how contacts routed down each
branch (including non-email and holdout paths) or shown a specific step convert
on a goal or custom event within a fixed window.
Also available at
GET /api/v1/sequences/{sequenceId}/outcomes (requires
sequences:read; the /api/v1/metrics/... path requires analytics:read).
Path Parameters
Query Parameters
Goal ID to measure conversions against, or
default-revenue. Mutually
exclusive with eventName.Custom event name to measure post-step conversions against (for example,
saas.upgraded). Mutually exclusive with goalId.Conversion window in whole days after a contact reaches the step (
1 to
90). Truncated early if the same contact re-enrolls at the same step so one
conversion is never credited to two enrollments.Sliding arrival window (
1h, 24h, 7d, 30d, 90d). Omit for all-time
cohorts. Ignored when start and end are provided.Outcome selection and interpretation
- If you omit both
goalIdandeventName, Sequenzy auto-selects the goal only when the sequence has exactly one active automation-scoped goal (outcome.autoSelected: true). Otherwiseoutcomeisnull, conversion fields arenull, andavailableGoalslists the goals you can query. - Observational vs. causal splits: rule-based
if/elsebranches and condition steps returncausal: falseandsignificance: nullbecause the rule selects different segments. Random splits returncausal: trueand report statistical significance computed strictly on the mature cohort (matureConverted / matureEntrants). Note that re-enrolled contacts are re-randomized on random splits. - Maturity: compare
matureConverted / matureEntrants(enrollments whose conversion window has closed) so newly arrived contacts still inside the window do not skew comparisons. - Per-goal attribution: for goal outcomes,
attributedis scoped to the selectedgoalId(and isnullfor event outcomes or paths without email steps). Because canvas email badges aggregate across all goals, per-goalattributedtotals can differ from canvas badges.
Errors
400: BothgoalIdandeventNamewere passed,conversionWindowDaysis outside1-90, or the date range is invalid.401: Missing or invalid API key.404: The sequence does not exist, is hidden from your role, orgoalIddoes not belong to this workspace.