Skip to main content
GET
Get Sequence Enrollment

Get Sequence Enrollment

Read a single enrollment in a sequence: how it entered, the redacted branch decisions it has already taken, and the recorded graph walk from ClickHouse. Use this when list enrollments shows a completed token with enteredVia unknown or sitting on the completion node and you need to know why the first branch took its else path. Listing does not return ClickHouse history; this endpoint does.

Request

string
required
Sequence ID.
string
required
Enrollment token ID from list enrollments (enrollmentId).

Response fields

enrollment is the same row shape as list enrollments, including enteredVia, entryContext, and branchDecisions.
  • entryContext is event or manual-enrollment context captured at entry: trigger type, event id, event name, and property keys only. Values from the enrolling payload are never returned.
  • branchDecisions is the redacted if/else (or random-split) verdict this token already took within the retained window, persisted on the token going forward. branchDecisionCount is the total and branchDecisionsTruncated says whether older decisions were omitted. Compared values are summaries (missing, empty, nonempty, equals_expected), never the raw field or event-property value.
  • nodeHistory is the ClickHouse graph walk for this token, oldest first. Each step may include a branchDecision reconstructed from stored node-completion metadata. Legacy rows that stored an unredacted evaluation reason are redacted on read.
  • nodeHistoryTruncated says whether more events exist beyond the returned nodeHistoryLimit events. Do not treat a truncated graph walk as complete.
  • historySource is node_events, token_context, both, or none.