Use this file to discover all available pages before exploring further.
Entities are a resource that lives under a parent customer, that can have it’s own plans and feature balances.Entity-level balances let you set usage limits that apply to each entity (like users, workspaces, or projects) individually. Instead of a single shared pool, each entity gets their own balance.This is useful when you want to ensure fair usage across team members or isolate resource consumption per workspace.
Seats: 1 included, then $30/seat for additional (usage-based)
Meeting Summaries: 50 per month, linked to the Seats feature as a per-entity feature, under “Advanced”
The key configuration is setting the meeting summaries feature to point to “seats”. When the entity is created, this creates a per-entity balance where each seat gets 50 summaries.
Create an entity for the admin user who is signing up. Since no plan is attached yet, this just registers the entity — no balance is granted yet. This should be done server-side for security.
import { Autumn } from "autumn-js";const autumn = new Autumn({ secretKey: 'am_sk_42424242',});// Create entity for the initial admin userawait autumn.entities.create("org_123", { id: "user_admin", name: "Admin User", feature_id: "seats",});
Since no plan is attached yet, this entity exists but has no balances. Once the Team plan is attached, this entity will automatically receive its 50 meeting summaries.
When team members are added, create entities. This tracks seat usage and initializes their per-entity balance.This will also bill the customer a prorated amount for the seat price. You can configure this proration behavior (full vs prorated, immediately vs next cycle) in the “Advanced” section of the plan feature when editing the plan.
Creating an entity automatically increments the seat count. If you create 4 entities, your seat usage will be 4.After you create an entity, navigate to the Autumn customer page, and you will see it created at the top of the page.
You can also check the total balance across all entities, useful for admin dashboards.
import { Autumn } from "autumn-js";const autumn = new Autumn({ secretKey: 'am_sk_42424242',});// Check total balance across all users (omit entity_id)const { data } = await autumn.check({ customer_id: "org_123", feature_id: "meeting_summaries",});// With 3 users at 50 each = 150 totalconsole.log(`Team has ${data.balance} total summaries remaining`);
When a team member leaves, delete their entity. This decrements seat usage and removes their balance.It will also create a pro-rated refund for the seat price. You can configure this proration behavior in the “Advanced” section of the plan feature when editing the plan.
import { Autumn } from "autumn-js";const autumn = new Autumn({ secretKey: 'am_sk_42424242',});// Remove Bob from the teamawait autumn.entities.delete("org_123", "user_bob");
Deleting an entity automatically decrements the seat count. The customer’s total meeting summary balance will also decrease accordingly.