Get Usage Stats
GET /usage
Aggregate usage across all sub-accounts for the billing period.
current, previous, or YYYY-MMFilter to a specific sub-account
account for per-account breakdown200 OK
Billing Models
The Usage API gives you the data to implement any billing model:| Model | How It Works |
|---|---|
| Per conversation | Charge based on conversations count |
| Per message | Charge based on messages_sent + messages_received |
| Flat fee | Fixed monthly rate per active account |
| Bundled | Include in your existing SaaS pricing |
Usage data is updated in real-time. Pull stats at any frequency to power your billing system.