Sequenzy · Schema
SequenceEnrollmentListResponse
Email MarketingArtificial IntelligenceSoftware-as-a-ServiceAutomationDeveloper Tools
Properties
| Name | Type | Description |
|---|---|---|
| success | boolean | |
| sequenceId | string | |
| sequenceName | string | |
| statuses | array | Enrollment statuses included in this response. |
| stopCondition | object | The sequence's single configured stop condition, including any matchConfig event-property filters or field comparison. A sequence holds exactly one, so a stop event with any other name never applies. |
| stopConditionMatchEvaluatedCount | integer | How many enrollments in this page were actually evaluated for a current stop-condition match. 0 when stopConditionMatch was not requested, the sequence has no stop condition, or no returned enrollment |
| enrollments | array | |
| pagination | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/sequenzy/json-schema/sequenzy-sequence-enrollment-list-response-schema.json",
"title": "SequenceEnrollmentListResponse",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/sequenzy-sequences-api-openapi.yml#/components/schemas/SequenceEnrollmentListResponse",
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"sequenceId": {
"type": "string"
},
"sequenceName": {
"type": "string"
},
"statuses": {
"type": "array",
"description": "Enrollment statuses included in this response.",
"items": {
"type": "string"
}
},
"stopCondition": {
"$ref": "#/$defs/SequenceStopCondition",
"description": "The sequence's single configured stop condition, including any matchConfig event-property filters or field comparison. A sequence holds exactly one, so a stop event with any other name never applies. It is re-evaluated when an enrollment next runs a step, not when its event arrives."
},
"stopConditionMatchEvaluatedCount": {
"type": "integer",
"description": "How many enrollments in this page were actually evaluated for a current stop-condition match. 0 when stopConditionMatch was not requested, the sequence has no stop condition, or no returned enrollment was still active or waiting."
},
"enrollments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"enrollmentId": {
"type": "string",
"description": "Enrollment token ID. Stable identifier for this one run through the sequence."
},
"sequenceId": {
"type": "string"
},
"subscriberId": {
"type": "string"
},
"email": {
"type": [
"string",
"null"
],
"description": "Subscriber email address. Falls back to the address captured at enrollment when the subscriber record no longer exists."
},
"firstName": {
"type": [
"string",
"null"
]
},
"lastName": {
"type": [
"string",
"null"
]
},
"subscriberStatus": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string",
"description": "`paused` means the enrollment is held on its current step by POST /sequences/{sequenceId}/enrollments/pause.",
"enum": [
"active",
"waiting",
"paused",
"completed",
"failed",
"cancelled"
]
},
"currentNodeId": {
"type": "string",
"description": "Sequence node this enrollment is currently sitting on."
},
"currentNodeType": {
"type": "string",
"description": "Omitted when the node no longer exists in the sequence graph."
},
"currentNodeLabel": {
"type": "string",
"description": "Node label or email subject when available."
},
"currentNodeMissing": {
"type": "boolean"
},
"enrollmentKey": {
"type": "string"
},
"enrollmentStartedAt": {
"type": "string",
"format": "date-time"
},
"waitUntil": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When a waiting enrollment is scheduled to resume, or null when nothing is scheduled. Always null for a paused enrollment, because nothing runs until it is resumed."
},
"lastUpdatedAt": {
"type": "string",
"format": "date-time",
"description": "Last change to this enrollment. For a waiting enrollment this is when it arrived at its current node."
},
"failedReason": {
"type": [
"string",
"null"
],
"description": "Why this enrollment stopped, for status `failed`. Null for every other status and for failures recorded before this field existed. The same reason repeated across enrollments on one `currentNodeId` points at that step rather than at the contacts."
},
"movedFromNodeId": {
"type": [
"string",
"null"
],
"description": "Step this enrollment was released from by POST /sequences/{sequenceId}/enrollments/move, or null when it reached its current step on its own."
},
"movedAt": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When that release happened, or null when the enrollment was never moved."
},
"moveReason": {
"type": [
"string",
"null"
],
"description": "Note recorded with that release, or null when none was given."
},
"pausedAt": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When the current pause began, or null when the enrollment is not paused."
},
"pauseReason": {
"type": [
"string",
"null"
],
"description": "Reason given when the enrollment was paused, or null."
},
"stopConditionMatches": {
"type": [
"boolean",
"null"
],
"description": "Whether the sequence stop condition matches for this contact right now. Null when it was not determined - stopConditionMatch was not requested, the sequence has no stop condition, this enrollment is no longer active or waiting, or it fell outside the evaluated window. Null never means \"does not match\". This is a non-atomic snapshot; the worker re-checks before a future step, but the condition can change and a step already past its stop check may still finish."
},
"stopConditionMatchReason": {
"type": [
"string",
"null"
],
"description": "Human-readable reason the stop condition matches. Null when stopConditionMatches is not true."
},
"enteredVia": {
"type": "object",
"description": "What put this contact into the sequence. The distinguishing detail when a trigger covers several lists or tags.",
"properties": {
"kind": {
"type": "string",
"enum": [
"list",
"tag",
"segment",
"event",
"inactivity",
"frequency",
"manual",
"test_run",
"unknown"
],
"description": "`inactivity` and `frequency` identify time-based evaluation of the monitored event rather than an ordinary event-received enrollment. `manual` is a dashboard or API enrollment that bypassed the trigger. `unknown` covers enrollments recorded before this field existed."
},
"value": {
"type": [
"string",
"null"
],
"description": "The list ID, tag name, segment ID, event name, or monitored event name. Null for `manual`, `test_run`, and `unknown`."
},
"name": {
"type": [
"string",
"null"
],
"description": "Resolved list or segment name. Set for list and segment kinds, and null when the referenced resource has since been deleted."
},
"description": {
"type": "string",
"description": "Ready-to-display attribution line."
}
}
},
"entryContext": {
"$ref": "#/$defs/SequenceEnrollmentEntryContext"
},
"branchDecisions": {
"type": "array",
"description": "Bounded redacted if/else and random-split verdicts, oldest first within the retained window. Compared values are summaries (missing, empty, nonempty, equals_expected), never the raw field or event-property value. Empty on enrollments recorded before this field existed; use GET /sequences/{sequenceId}/enrollments/{enrollmentId} to reconstruct those from ClickHouse.",
"items": {
"$ref": "#/$defs/SequenceEnrollmentBranchDecision"
}
},
"branchDecisionCount": {
"type": "integer",
"minimum": 0,
"description": "Total decisions taken, including decisions omitted from the bounded array."
},
"branchDecisionsTruncated": {
"type": "boolean",
"description": "Whether older decisions were omitted from branchDecisions."
}
}
}
},
"pagination": {
"type": "object",
"properties": {
"limit": {
"type": "number"
},
"offset": {
"type": "number"
},
"count": {
"type": "number"
},
"total": {
"type": "number"
},
"hasMore": {
"type": "boolean"
}
}
}
},
"$defs": {
"SequenceEnrollmentBranchDecision": {
"type": "object",
"description": "One if/else or random-split verdict. Compared values are summaries, never the raw recipient value.",
"properties": {
"nodeId": {
"type": "string"
},
"decidedAt": {
"type": "string",
"format": "date-time"
},
"splitMode": {
"type": "string",
"enum": [
"condition",
"random"
]
},
"selectedPath": {
"type": "string",
"enum": [
"matched",
"else"
]
},
"matchedBranchId": {
"type": [
"string",
"null"
]
},
"matchedBranchIndex": {
"type": "integer"
},
"routedEdgeBranchId": {
"type": [
"string",
"null"
]
},
"evaluations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"branchId": {
"type": [
"string",
"null"
]
},
"branchIndex": {
"type": "integer"
},
"conditionType": {
"type": [
"string",
"null"
]
},
"fieldName": {
"type": [
"string",
"null"
]
},
"outcome": {
"type": "string",
"enum": [
"pass",
"fail",
"skip"
]
},
"compared": {
"type": [
"object",
"null"
],
"properties": {
"present": {
"type": "boolean"
},
"summary": {
"type": "string",
"enum": [
"missing",
"empty",
"nonempty",
"equals_expected"
]
},
"kind": {
"type": [
"string",
"null"
],
"enum": [
"string",
"number",
"boolean",
"object",
"array",
"null",
null
]
}
}
},
"reason": {
"type": "string",
"description": "Human-readable, already redacted. Never includes the compared value."
}
}
}
}
}
},
"SequenceEnrollmentEntryContext": {
"type": "object",
"description": "Event or manual-enrollment context captured at entry. Property keys only; values from the enrolling payload are never returned.",
"properties": {
"triggerType": {
"type": [
"string",
"null"
],
"description": "Stored entryTriggerType, such as event_received or manual_enrollment. Null when never stamped."
},
"eventId": {
"type": [
"string",
"null"
],
"description": "Durable ID of the enrolling event, or null."
},
"eventName": {
"type": [
"string",
"null"
],
"description": "Enrolling event name, or null."
},
"hasEventProperties": {
"type": "boolean",
"description": "Whether any event property keys were stored on this enrollment."
},
"eventPropertyKeys": {
"type": "array",
"description": "Keys present on the enrolling event payload. Values are omitted.",
"items": {
"type": "string"
}
},
"hasFieldSnapshots": {
"type": "boolean",
"description": "Whether subscriber field snapshots were stored at enrollment."
},
"fieldSnapshotKeys": {
"type": "array",
"description": "Subscriber field paths snapshotted at enrollment. Values are omitted.",
"items": {
"type": "string"
}
}
}
},
"SequenceStopCondition": {
"type": "object",
"description": "Auto-stop condition, re-evaluated before every step including the first one. has_tag, added_to_list, entered_segment, field_changed, and event_received stop the run once the thing happens. event_received only counts events received after enrollment - the enrolling event and earlier history never satisfy the stop. does_not_have_tag and removed_from_list stop the run whenever the subscriber lacks that tag or list membership, so they act as a required-tag or required-list allowlist and cancel everyone else before any step sends. Guarded-out contacts still enroll and are then cancelled at the trigger node, so they appear as cancellations there rather than in the active or waiting enrollment counts. Clearing the guard does not retry them: they only receive the sequence if the trigger fires for them again, and on the one_time enrollment mode not even then.",
"properties": {
"type": {
"type": "string",
"enum": [
"none",
"has_tag",
"does_not_have_tag",
"added_to_list",
"removed_from_list",
"entered_segment",
"field_changed",
"event_received"
]
},
"value": {
"type": [
"string",
"null"
],
"description": "Tag name, list ID, segment ID, field path, or event name. For the does_not_have_tag and removed_from_list guards this is the tag or list a subscriber must have to keep receiving the sequence. Null with entry_audience matching means the tag or list that enrolled each contact is used."
},
"matchConfig": {
"description": "Optional typed match rule. event_received uses event_property_filter propertyFilters (stop only when an event received after enrollment matches every filter, e.g. quota_used greater_than 1) or event_property rules (stop only when the stop event's field equals the same field captured on the enrolling event); field_changed uses a field_value comparison. Tag/list defaults use entry_audience to resolve the required tag or list per enrollment. Tag entry matching requires a tag_added trigger; list entry matching requires a contact_added trigger scoped to at least one specific list.",
"anyOf": [
{
"oneOf": [
{
"type": "object",
"required": [
"mode",
"propertyFilters"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"event_property_filter"
]
},
"propertyFilters": {
"type": "array",
"description": "Filters an event received after enrollment must all match for the stop to fire. Same shape as event trigger propertyFilters.",
"items": {
"type": "object",
"required": [
"path",
"operator"
],
"properties": {
"path": {
"type": "string",
"description": "Dot-path into the stop event's properties."
},
"operator": {
"type": "string",
"enum": [
"exists",
"not_exists",
"equals",
"not_equals",
"one_of",
"contains",
"greater_than",
"less_than"
]
},
"value": {
"description": "Comparison value (string, number, or boolean; array of values for one_of). Omit for exists/not_exists."
}
}
}
}
}
},
{
"type": "object",
"required": [
"mode",
"rules"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"event_property"
]
},
"rules": {
"type": "array",
"items": {
"type": "object",
"required": [
"entryFieldPath",
"eventFieldPath"
],
"properties": {
"entryFieldPath": {
"type": "string"
},
"eventFieldPath": {
"type": "string"
}
}
}
}
}
},
{
"type": "object",
"required": [
"mode",
"operator",
"value"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"field_value"
]
},
"operator": {
"type": "string",
"enum": [
"equals",
"not_equals",
"greater_than",
"less_than",
"contains",
"not_contains"
]
},
"value": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"mode",
"audience"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"entry_audience"
]
},
"audience": {
"type": "string",
"enum": [
"tag",
"list"
],
"description": "Use the tag or list recorded when this contact enrolled."
}
}
}
]
},
{
"type": "null"
}
]
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sequenzy-sequence-enrollment-list-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.