Menu

Retrieve per-step journey statistics

GET/v1/journeys/{id}/step-stats

Requires an API key with the journeys:read scope. About keys and scopes

Counters broken down by step, showing where contacts are accumulating or dropping out, with the email and push messages each send step created.

Path parameters

idstringrequired

uuid

Query parameters

definitionIdstringoptional

A version of the steps, from the journey definitions list; defaults to the current one.

Returns

Returns 200 OK with a JourneyStepStats in data. Otherwise returns an error; Errors lists every code and which to retry.

definitionIdstringrequired

The version of the steps these counters are for.

matchesCurrentStepsbooleanrequired

Whether that version is the journey's current steps.

checkedAtstringrequired

When the counters were read.

date-time

enrollmentCountintegerrequired

Runs that followed this version.

min 0 · max 9007199254740991

stepsobject[]required

at most 50 items

9 child attributes
stepIndexintegerrequired

Index of the step in steps.

min 0 · max 9007199254740991

typestringrequired

The step type.

one of wait, wait_until, digest, send, branch, filter, split, action

scheduledintegerrequired

Runs waiting to act on this step.

min 0 · max 9007199254740991

activeintegerrequired

Runs on this step now.

min 0 · max 9007199254740991

completedHereintegerrequired

Runs that finished the journey at this step.

min 0 · max 9007199254740991

exitedHereintegerrequired

Runs that were ended early while on this step.

min 0 · max 9007199254740991

emailobjectrequired

Email messages this step created, by status; zero for other steps.

9 child attributes
createdintegerrequired

min 0 · max 9007199254740991

queuedintegerrequired

min 0 · max 9007199254740991

sendingintegerrequired

min 0 · max 9007199254740991

failedintegerrequired

min 0 · max 9007199254740991

skippedintegerrequired

min 0 · max 9007199254740991

sentintegerrequired

min 0 · max 9007199254740991

deliveredintegerrequired

min 0 · max 9007199254740991

openedintegerrequired

min 0 · max 9007199254740991

clickedintegerrequired

min 0 · max 9007199254740991

pushobjectrequired

Push messages this step created, by status. No delivered: push services report acceptance, not arrival.

8 child attributes
createdintegerrequired

min 0 · max 9007199254740991

queuedintegerrequired

min 0 · max 9007199254740991

sendingintegerrequired

min 0 · max 9007199254740991

failedintegerrequired

min 0 · max 9007199254740991

skippedintegerrequired

min 0 · max 9007199254740991

sentintegerrequired

min 0 · max 9007199254740991

openedintegerrequired

min 0 · max 9007199254740991

clickedintegerrequired

min 0 · max 9007199254740991

conversionsobject[]required

Conversions credited to this step's messages, per goal; empty for others.

3 child attributes
goalIdstringrequired

The conversion goal.

uuid

countintegerrequired

Conversions credited to this step.

min 0 · max 9007199254740991

valuenumber | nullrequired

The goal's value total, in its currency; null when it names no value.