SMAO API Documentation
Public APIStatistics

List available statistics filters

GET
/statistics/summary

Returns the filter values that populate statistics dashboards: every (week, year) pair that has at least one completed call in the organization, plus every assistant in the organization. The all assistant sentinel is not returned — clients can always pass assistant_id=all to the /usage endpoint regardless of this list.

Authorization

bearerAuth
AuthorizationBearer <token>

API key in the Authorization: Bearer <key> header. Keys are created in the SMAO dashboard (Settings → API Keys).

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/statistics/summary"
{  "data": {    "available_weeks": [      {        "week": 0,        "year": 0      }    ],    "available_assistants": [      {        "id": "string",        "name": "string"      }    ]  }}