Outcome
Read one enrollment with its step history (each node taken, outcome and time) and the sends it intended: each send node took an eligibility reservation (status intended) or records why it could not (blocked, deferred, failed). Each intended send is delivered through Nexus email.send when the workspace has a verified sender (sending_settings.get), queued in the outbox when no Nexus credential is usable, and only recorded when no sender is configured.
Before you start
- Verify identity and pin the intended organization and environment before discovering the action.
- Discover a granted Nurture workspace. The application permission is workspace:read; required workspace access is read. A permission alone does not supply a workspace grant.
- Organization and workspace come from verified context. Select resourceType/resourceId separately from action input; body fields cannot grant a different organization or workspace. The first authorized product action can initialize an identity-only workspace mirror.
Discover the target
topolo whoami --json
topolo actions get app_topolo_nurture.journeys.enrollments.get --detail --json
topolo resources topolo-nurture --json
topolo workspaces list topolo-nurture --json
topolo actions get app_topolo_nurture.journeys.enrollments.list --detail --json
id: Journey enrollment id, not a journey id.
Request
GET /api/journey-enrollments/{id}
Save action input as payload.json. The reviewed plan separates path identifiers, query fields and HTTP body. Set NURTURE_WORKSPACE_ID from granted resource discovery; it is separate from action input.
Inspect and test this action in the signed action console. A test response still requires the verification below.
Input fields
| Field | Required | Type | Constraints |
|---|---|---|---|
id | Required | string | Journey enrollment id, not a journey id. {"minLength":1,"maxLength":64} |
Exact input schema:
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"id"
],
"additionalProperties": false
}
Effects
- Reads one enrollment, its steps and intended sends without changing state.
Interpret the response
The returned identifier path is $.enrollment.id for journey_enrollment. Empty lists do not discover a target.
Confirm steps[].seq is strictly increasing.
Exact success schema:
{
"type": "object",
"required": [
"enrollment",
"steps",
"sends"
],
"properties": {
"enrollment": {
"type": "object",
"required": [
"id",
"journeyId",
"version",
"contactId",
"status",
"currentNodeId",
"dueAt",
"enrolledAt"
],
"properties": {
"id": {
"type": "string"
},
"journeyId": {
"type": "string"
},
"version": {
"type": "integer"
},
"contactId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"active",
"completed",
"converted",
"exited"
]
},
"currentNodeId": {
"type": "string"
},
"stepSeq": {
"type": "integer"
},
"attempts": {
"type": "integer"
},
"dueAt": {
"type": [
"string",
"null"
]
},
"exitReason": {
"type": [
"string",
"null"
]
},
"source": {
"type": "string"
},
"enrolledAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
}
},
"steps": {
"type": "array",
"items": {
"type": "object",
"required": [
"seq",
"nodeId",
"kind",
"outcome",
"at"
],
"properties": {
"seq": {
"type": "integer"
},
"nodeId": {
"type": "string"
},
"kind": {
"type": "string"
},
"outcome": {
"type": "string"
},
"at": {
"type": "string"
},
"detail": {
"type": "object"
}
}
}
},
"sends": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"nodeId",
"status"
],
"properties": {
"id": {
"type": "string"
},
"nodeId": {
"type": "string"
},
"templateRef": {
"type": "string"
},
"topicKey": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string"
},
"status": {
"type": "string"
},
"reservationId": {
"type": [
"string",
"null"
]
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"createdAt": {
"type": "string"
}
}
}
}
}
}
Worked examples
Actual dispatcher and migration-created SQLite or Worker handlers; identity/workspace and external service dependencies are simulated. Fixture identifiers and timestamps are synthetic. These responses establish no live authorization, paid generation, credential provisioning or message delivery. Replace synthetic identifiers using credential-scoped discovery. A local success is not evidence of a deployed effect, configured provider or delivered message.
Successful request
Actual dispatcher and migration-created SQLite; verified identity/workspace and external CRM, Engage, Notify, Consent, Nexus, Brand, Generator, Voice and delivery dependencies are simulated. No live authorization, paid generation or external delivery is established.
Input · payload.json:
{
"id": "jen_e3ad9cf0d5614fac9a1e1fa0928c27be"
}
CLI:
topolo actions validate app_topolo_nurture.journeys.enrollments.get --data @payload.json --json
topolo actions plan app_topolo_nurture.journeys.enrollments.get --resource-type workspace --resource-id "$NURTURE_WORKSPACE_ID" --data @payload.json --json
topolo actions call app_topolo_nurture.journeys.enrollments.get --resource-type workspace --resource-id "$NURTURE_WORKSPACE_ID" --data @payload.json --json
MCP tool and arguments:
{
"tool": "topolo_read_action",
"arguments": {
"actionId": "app_topolo_nurture.journeys.enrollments.get",
"input": {
"id": "jen_e3ad9cf0d5614fac9a1e1fa0928c27be"
},
"resourceType": "workspace",
"resourceId": "<identifier returned by resource discovery>"
}
}
Captured local response · HTTP 200:
{
"enrollment": {
"id": "jen_e3ad9cf0d5614fac9a1e1fa0928c27be",
"journeyId": "jny_73e5e883bfb74120a96fadf054638e19",
"version": 1,
"contactId": "nct_70c6d7677b4b4de3ae991df1ef2de724",
"status": "converted",
"currentNodeId": "hello",
"stepSeq": 1,
"attempts": 0,
"dueAt": null,
"exitReason": "goal_reached",
"source": "manual:u1",
"enrolledAt": "2026-10-01T09:00:00.000Z",
"updatedAt": "2026-10-04T00:32:37.081Z"
},
"steps": [
{
"seq": 1,
"nodeId": "hello",
"kind": "goal",
"outcome": "converted",
"detail": {
"eventType": "purchase"
},
"at": "2026-10-01T09:00:00.000Z"
}
],
"sends": []
}
HTTP 200. Confirm steps[].seq is strictly increasing.
Another supported request
Actual dispatcher and migration-created SQLite; verified identity/workspace and external CRM, Engage, Notify, Consent, Nexus, Brand, Generator, Voice and delivery dependencies are simulated. No live authorization, paid generation or external delivery is established.
Input · payload.json:
{
"id": "jen_c3c78e6d454146d989276ee5e3fff900"
}
CLI:
topolo actions validate app_topolo_nurture.journeys.enrollments.get --data @payload.json --json
topolo actions plan app_topolo_nurture.journeys.enrollments.get --resource-type workspace --resource-id "$NURTURE_WORKSPACE_ID" --data @payload.json --json
topolo actions call app_topolo_nurture.journeys.enrollments.get --resource-type workspace --resource-id "$NURTURE_WORKSPACE_ID" --data @payload.json --json
MCP tool and arguments:
{
"tool": "topolo_read_action",
"arguments": {
"actionId": "app_topolo_nurture.journeys.enrollments.get",
"input": {
"id": "jen_c3c78e6d454146d989276ee5e3fff900"
},
"resourceType": "workspace",
"resourceId": "<identifier returned by resource discovery>"
}
}
Captured local response · HTTP 200:
{
"enrollment": {
"id": "jen_c3c78e6d454146d989276ee5e3fff900",
"journeyId": "jny_b6d6ed4534e2497caa2cb0b6cf3516b0",
"version": 1,
"contactId": "nct_fc2d0ac2580b4445844d8b247ac85204",
"status": "completed",
"currentNodeId": "done",
"stepSeq": 6,
"attempts": 0,
"dueAt": null,
"exitReason": null,
"source": "event:signup",
"enrolledAt": "2026-10-01T09:00:00.000Z",
"updatedAt": "2026-10-04T00:32:37.539Z"
},
"steps": [
{
"seq": 1,
"nodeId": "hello",
"kind": "send",
"outcome": "intended",
"detail": {
"templateRef": "welcome-1",
"reasons": [],
"reservationId": "rsv_2e0bb6c035504809825067d3d17ce32e"
},
"at": "2026-10-01T09:00:00.000Z"
},
{
"seq": 2,
"nodeId": "wait",
"kind": "delay",
"outcome": "waiting",
"detail": {
"until": "2026-10-01T10:00:00.000Z"
},
"at": "2026-10-01T09:00:00.000Z"
},
{
"seq": 3,
"nodeId": "check",
"kind": "branch",
"outcome": "no",
"detail": {},
"at": "2026-10-01T10:01:00.000Z"
},
{
"seq": 4,
"nodeId": "nudge",
"kind": "send",
"outcome": "deferred",
"detail": {
"templateRef": "nudge-1",
"reasons": [
"daily_cap_reached"
]
},
"at": "2026-10-01T10:01:00.000Z"
},
{
"seq": 5,
"nodeId": "nudge",
"kind": "send",
"outcome": "intended",
"detail": {
"templateRef": "nudge-1",
"reasons": [],
"reservationId": "rsv_2cdbb84ace67470b86cc84fb04f87c99"
},
"at": "2026-10-02T10:00:00.000Z"
},
{
"seq": 6,
"nodeId": "done",
"kind": "exit",
"outcome": "completed",
"detail": {},
"at": "2026-10-02T10:00:00.000Z"
}
],
"sends": [
{
"id": "jsd_c876f62cc55444e3ba2a7a0be1a98c06",
"nodeId": "hello",
"templateRef": "welcome-1",
"topicKey": "news",
"purpose": "marketing",
"status": "intended",
"reservationId": "rsv_2e0bb6c035504809825067d3d17ce32e",
"reasons": [],
"createdAt": "2026-10-01T09:00:00.000Z"
},
{
"id": "jsd_d275ae1f993042cd97b2a16d76d76813",
"nodeId": "nudge",
"templateRef": "nudge-1",
"topicKey": "news",
"purpose": "marketing",
"status": "deferred",
"reservationId": null,
"reasons": [
"daily_cap_reached"
],
"createdAt": "2026-10-01T10:01:00.000Z"
},
{
"id": "jsd_e13aa9cafaf842a5ad30fb1d425aa57a",
"nodeId": "nudge",
"templateRef": "nudge-1",
"topicKey": "news",
"purpose": "marketing",
"status": "intended",
"reservationId": "rsv_2cdbb84ace67470b86cc84fb04f87c99",
"reasons": [],
"createdAt": "2026-10-02T10:00:00.000Z"
}
]
}
HTTP 200. Confirm steps[].seq is strictly increasing.
Refused request · not_found
Actual dispatcher and migration-created SQLite; verified identity/workspace and external CRM, Engage, Notify, Consent, Nexus, Brand, Generator, Voice and delivery dependencies are simulated. No live authorization, paid generation or external delivery is established.
Input · payload.json:
{
"id": "jen_missing"
}
CLI:
topolo actions validate app_topolo_nurture.journeys.enrollments.get --data @payload.json --json
topolo actions plan app_topolo_nurture.journeys.enrollments.get --resource-type workspace --resource-id "$NURTURE_WORKSPACE_ID" --data @payload.json --json
Captured local response · HTTP 404:
{
"error": {
"code": "not_found",
"message": "Enrollment was not found in this workspace."
}
}
HTTP 404. Preserve the refusal details and do not claim success.
Verify the result
- Confirm steps[].seq is strictly increasing.
Errors and recovery
organization_required(HTTP 403): Select an organization available to the verified caller before choosing a Nurture workspace.permission_denied(HTTP 403): Grant the credential the required Nurture workspace permission.workspace_required(HTTP 409): Create a Nurture workspace, or pass the workspace resource context.invalid_input(HTTP 422): Correct the fields named in error.details using inputSchema, then retry.not_found(HTTP 404): Call app_topolo_nurture.journeys.enrollments.list to find an enrollment id in this workspace.
Auth or gateway failures may precede this handler. Preserve the exact response shape, error string/code, request id and credential context; no synthetic fixture establishes live credential access.
Recovery boundary
This action does not change service state.
Related actions
Evidence
Actual dispatcher and migration-created SQLite or Worker handlers; identity/workspace and external service dependencies are simulated. Fixture identifiers and timestamps are synthetic. These responses establish no live authorization, paid generation, credential provisioning or message delivery. Test scenario and capture digests are retained with each fixture.