Skip to main content
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

string
required
The ID of the sequence.

Query Parameters

string
Goal ID to measure conversions against, or default-revenue. Mutually exclusive with eventName.
string
Custom event name to measure post-step conversions against (for example, saas.upgraded). Mutually exclusive with goalId.
integer
default:"7"
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.
string
Sliding arrival window (1h, 24h, 7d, 30d, 90d). Omit for all-time cohorts. Ignored when start and end are provided.
string
ISO 8601 start of cohort arrival window. Must be used with end.
string
ISO 8601 end of cohort arrival window. Must be used with start (max 90 days).
string
Optional comma-separated node IDs to scope the response to.

Outcome selection and interpretation

  • If you omit both goalId and eventName, Sequenzy auto-selects the goal only when the sequence has exactly one active automation-scoped goal (outcome.autoSelected: true). Otherwise outcome is null, conversion fields are null, and availableGoals lists the goals you can query.
  • Observational vs. causal splits: rule-based if/else branches and condition steps return causal: false and significance: null because the rule selects different segments. Random splits return causal: true and 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, attributed is scoped to the selected goalId (and is null for event outcomes or paths without email steps). Because canvas email badges aggregate across all goals, per-goal attributed totals can differ from canvas badges.

Errors

  • 400: Both goalId and eventName were passed, conversionWindowDays is outside 1-90, or the date range is invalid.
  • 401: Missing or invalid API key.
  • 404: The sequence does not exist, is hidden from your role, or goalId does not belong to this workspace.