Get Usage Summary
Usage & Billing
Get Usage Summary
Get current usage summary including minutes, active sessions and billing period information
GET
Get Usage Summary
Overview
Returns a comprehensive usage summary for the authenticated user, including:- Current billing period details
- Included and purchased minutes (total, used, remaining)
- Currently active sessions with real-time duration
- Concurrency limits and usage
- Avatar creation usage for the current billing cycle
- Plan information
You can manage your plan, view billing details and purchase additional minutes at app.agenthuman.com/settings/billing.
Authentication
Requires authentication via API key (X-API-Key header) or JWT token (session cookie).Response
Whether the request was successful
The usage object (See Usage schema for complete field descriptions).
Usage Notes
Billing Period
- Paid plans: Uses Stripe subscription’s
current_period_startandcurrent_period_end - Free plans: Uses calendar month (1st to last day of month)
Minutes Calculation
- Included minutes are used first
- Purchased minutes are consumed after included minutes are exhausted
- Active minutes are calculated in real-time and rounded up per session
Active Sessions
- Each session in
active_sessionsis a standard Session object - Sessions have
status: "active"andended_at: null - The
durationfield shows real-time elapsed seconds since session started
Concurrency
Concurrent sessions are sessions running at the same time. The
concurrency object shows how many sessions you currently have active (current), your plan’s maximum allowed (max) and how many more you can start (available).max: 5, you can run 5 avatar sessions simultaneously. If you currently have 1 session running (current: 1), you have 4 available slots (available: 4) to start more sessions.
Plans have different concurrent session limits:
- Free: 1 concurrent session
- Explorer: 5 concurrent sessions
- Growth: 10 concurrent sessions
- Pro: 20 concurrent sessions
Avatar Creation
Theavatars object tracks custom avatar generation usage for the current billing cycle. limit: 0 means the plan does not include avatar creation. limit: null means unlimited. Resets each billing cycle alongside included minutes.
| Plan | Avatars per cycle |
|---|---|
| Free | Not available (0) |
| Explorer | 20 |
| Growth | 60 |
| Pro | 180 |
| Enterprise | Unlimited |