Statistics API (deprecated)
Last updated
Last updated
This API is deprecated and will eventually be removed. You can try the now. Below you can find the documentation for the deprecated API until it is removed.
Using the API key created in , you can get statistics for your bot through our API.
To get the number of user sessions for your bot, make a GET request to https://api.kindly.ai/api/v1/bot/YOUR_BOT_ID/stats/sessions/total
with your API key as a header authorization key.
An example request using is shown below:
To get the number of user queries (messages) sent to your bot, make a GET request to https://api.kindly.ai/api/v1/bot/YOUR_BOT_ID/stats/queries/total
with your API key as a header authorization key.
An example request using is shown below:
To get the number of user queries (messages) sent to your bot which went to fallback, make a GET request to https://api.kindly.ai/api/v1/bot/YOUR_BOT_ID/stats/queries/fallbacks
with your API key as a header authorization key.
By appending query parameters from
and to
formatted as YYYY-MM-DD, you can control the date range of the stats.
An example request using is shown below: