PREMIUM ADD-ON ✨Governance is available upon request only. Please contact us to get access to this premium feature.
Why governance
When you sell usage to a whole organization, its admins expect the controls they get from modern AI products:- Usage in detail: who consumed what, at any level you define, such as teams, users, agents, API keys or models.
- Roll-ups: users add up to their team, teams to their department, and everything to the account.
- Enforcement: limits per team or per user, so one person can’t burn the whole budget.
What you can do
How it works
- Define entities once for your organization. See Set up governance.
- Tag your events with the values, for example
"team_id": "eng". See Send attributed events. - Lago attributes each event to every level of the tree at ingestion.
- Query attributed usage per subscription. See Query attributed usage.
Governance is opt-in
Governance never changes what you bill. Events without tags are billed as usual and show as unattributed, so you can start with one entity and add more later.Core concepts
Entities, attribution keys and roll-ups.
Set up governance
Define your entities in the dashboard or with the API.
Send attributed events
Tag events with entity values.
Query attributed usage
Read usage and spend per entity.