Skip to main content
GET
/
v1
/
bot
/
stats
/
tools
Get Tool Usage Statistics
curl --request GET \
  --url https://api.boostgpt.co/v1/bot/stats/tools \
  --header 'Authorization: Bearer <token>'
{
  "total_tool_calls": 123,
  "tools_by_usage": [
    {
      "tool_name": "<string>",
      "usage_count": 123,
      "success_rate": 123
    }
  ],
  "average_execution_time": 123
}

Authorizations

Authorization
string
header
required

Enter your API key

Query Parameters

project_id
string
required

Project ID

bot_id
string
required

Agent ID

Response

200 - application/json

Tool usage statistics retrieved successfully

total_tool_calls
integer

Total tool execution count

tools_by_usage
object[]

Tools ranked by usage frequency

average_execution_time
number

Average tool execution time in ms