Abandon a pathway execution

View as MarkdownOpen in Claude

Marks a pathway execution as abandoned mid-flow. The body is optional indefinitely: legacy clients calling without a body remain supported. Supplied fields refine drop-off analytics but are not required. Returns the lifecycle envelope reflecting the abandoned state.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired
Stable identifier of the pathway execution.

Request

This endpoint expects an object.
reasonCodestringOptional<=64 characters
Opaque reason for abandonment, captured for analytics only. Engine ignores the value.

Response

The envelope after abandonment.
envelopeobject
Lifecycle envelope reflecting the updated execution.