cURL
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 }
Returns daily message and unique user counts for a user’s assistant, along with the overall total messages and total distinct users.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Show child attributes
Was this page helpful?