Skip to main content
PREMIUM ADD-ON ✨Governance is available upon request only. Please contact us to get access to this premium feature.
You don’t need a new endpoint. Add the entity values to the properties of the events you already send to Lago, using your attribution keys.

Tag an event

Lago attributes this event to rnd, eng, alice and key_1 at ingestion. value and model keep their usual billing role: the same properties serve billing and attribution.

Send every level

Include the full chain on every event, for example department_id, team_id and user_id.
Lago doesn’t infer a parent from earlier events. An event with only user_id counts for alice, and is unattributed at the team and department levels.

How values are read

  • Keys are case-sensitive and must match an attribution key exactly.
  • If an entity has several keys, Lago uses the first one found in the event.
  • Values are read as text, up to 255 characters.
  • A missing, blank, too long or nested value (object, array) is ignored. The event is unattributed for that entity.

Edge cases

All delivery methods work, including batch and streaming.

Query attributed usage

Read usage and spend per entity.

Core concepts

Entities, attribution keys and roll-ups.