GET/v1/postflows/{id}/flow/counts

Cards per step of the journey

Per step of the version (default the published one): the cards that entered it, per branch or variant, and the cards at each step now; live cards, or test cards with mode=test.

Scope postflows.read

Path parameters

idstringrequired

Query parameters

versionintegermin 1
modeenumdefault "live"
livetest

Returns

4 fields of the 200 answer
versionIdstring or nullrequired
numberinteger or nullrequired
stepsarray of objectsrequired
3 fields
stepIdstringrequired
enteredintegerrequired
outcomesobjectrequired
waitingarray of objectsrequired
3 fields
stepIdstringrequired
statusenumrequired
NEEDS_ATTENTIONSUPPRESSEDHELDPENDING_APPROVALREADYSCHEDULED_FOR_RUNIN_PRODUCTIONCOMPLETEDFAILEDCANCELLEDRETURNEDNOT_SENTIN_FLOWDISQUALIFIEDCONTROL_GROUP
nintegerrequired

Responses

200Success
401Authentication required or API key invalid
403Permission or scope missing, organisation suspended
404Not found
422Validation failed
429Rate limited for this API key and class; wait Retry-After seconds
otherError (RFC 9457 problem details)