Per-assistant usage for a week
Returns one breakdown row per assistant that had at least one completed
call in the selected week. Includes assistants that have since been
deleted — their calls still count and the row carries is_deleted: true.
All duration fields are integer seconds (billable, with 60s minimum).
Authorization
bearerAuth API key in the Authorization: Bearer <key> header.
Keys are created in the SMAO dashboard (Settings → API Keys).
In: header
Query Parameters
1 <= value <= 532020 <= value <= 2100Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/statistics/assistants?week=1&year=2020"{ "data": { "period": { "week": 0, "year": 0 }, "total_assistants": 0, "total_calls": 0, "assistants": [ { "assistant_id": "string", "assistant_name": "string", "assistant_language": "string", "is_deleted": true, "total_calls": 0, "total_call_seconds": 0, "average_call_seconds": 0, "average_calls_per_day": 0, "weekly_call_counts": [ 0, 0, 0, 0, 0, 0, 0 ], "weekly_call_seconds": [ 0, 0, 0, 0, 0, 0, 0 ], "daily_call_counts": [ { "date": "string", "count": 0 } ] } ] }}Usage breakdown for a week + assistant filter GET
Returns the monthly + weekly + last-24h breakdown for the selected week/year window. `assistant_id=all` aggregates across every assistant; passing a concrete 24-hex ID filters to that assistant's calls only. Supplying an ID that does not belong to the caller's organization returns 404.
Distributor API v1
Manage partners, customer organizations, plans, usage, and billing.