Retrieve an event's lineage
Returns where one event went in billing: the usage lines it counted on and what it added to each, the invoice and invoice line that bill them, and the credits it spent. When it counted on no line, notCounted says why. Lineage covers events received from 2026-08-05. {event} takes the event’s evt_ ID. With held transparency enabled, a known held or outdated event is retrieved directly, without a view selector; its stored customer can be null.
Authentication
Path parameters
Headers
This endpoint is in the event_lineage=v1 beta. Send this header to use it.
Response
The type of object. Always eventLineage.
When the lineage was read; billing may add to it later.
The customer’s cus_ ID; null when billing never resolved one.
The event’s evt_ ID.
The event’s name, such as ticket.closed.
What happened to the event, oldest first: its receipt, each refusal, skip, hold and replay, where it counted and stopped counting, its credit spends and its invoices, and its void with the credits it gave back. Refusals, skips, holds and replays are recorded from November 3, 2026, so an older event’s history may leave out retries before it counted. Null in a list; retrieve the event’s lineage for its history.
true for an object on a live account, false on a test account.
When Paid received the event. Lineage covers events received from 2026-08-05.
counted once it counted on a usage line, notCounted when it hasn’t (notCounted says why, including processing while billing is still working on it). A meter’s event with no product is notCounted: skipped, or notProcessed when received before not-counted outcomes began being recorded on 2026-11-02. More values may be added.
When the event occurred, as billing dates it: the event’s timestamp, else, for a signal sent through the legacy API, a valid data.historicalTimestamp, else its receipt. The list’s timestamp[gte] and timestamp[lt] filter on it.
Whether the event was voided. A voided event keeps its lineage: history says when, by whom and why, and what credits went back.