Fetch Usage

Fetch usage

get
/v1/usage/fetch

Description

Fetches the usage data for the user in the current billing period.

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

curl -X GET "https://api.chatbotkit.com/v1/usage/fetch" \

-H "Authorization: Bearer $CHATBOTKIT_API_SECRET"

{
"tokens":"number",
"conversations":"number",
"messages":"number",
"database":{
"datasets":"number",
"records":"number",
"skillsets":"number",
"abilities":"number",
"files":"number",
"users":"number"
}
}
The usage information was retrieved successfully