GET
/
analytics
/
assistant
/
{assistant_id}
/
stats
Get Assistant Stats
curl --request GET \
  --url https://cloud.onyx.app/api/analytics/assistant/{assistant_id}/stats \
  --header 'Authorization: Bearer <token>'
{
  "daily_stats": [
    {
      "date": "2023-12-25",
      "total_messages": 123,
      "total_unique_users": 123
    }
  ],
  "total_messages": 123,
  "total_unique_users": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

assistant_id
integer
required

Query Parameters

start
string<date-time> | null
end
string<date-time> | null

Response

200
application/json

Successful Response

The response is of type object.