Example
A team plan costs $30/seat/month. Each seat gets 50 AI meeting summaries per month. If a team has 5 users, each user has their own balance of 50 summaries — they can’t use each other’s allocation.
Setting up
- CLI
- Dashboard
Create features for both the entity count (e.g., seats) and the per-entity feature (e.g., summaries). Then link them via The
entityFeatureId on the plan item:autumn.config.ts
entityFeatureId links the summaries feature to the seats feature — each seat (entity) will receive its own balance of 50 summaries.Push changes with atmn push.Creating entities
When a new team member joins, create an entity. This automatically increments the entity feature count (e.g., seats) and provisions the per-entity balance:Checking and tracking per entity
Pass theentity_id to check and track to operate on a specific entity’s balance:
Check access
Track usage
Customer-level vs entity-level
| Level | How to use | Behavior |
|---|---|---|
| Entity-level | Pass entity_id in check/track | Checks/deducts from that entity’s individual balance |
| Customer-level | Omit entity_id | Returns the total balance across all entities |
When tracking at the customer level (without
entity_id), usage is deducted from the first-created entity to keep entity-level totals in sync with the customer-level total.
