Skip to main content
GET
/
api
/
admin
/
analytics
/
tools
MCP tool usage stats
curl --request GET \
  --url https://api.example.com/api/admin/analytics/tools \
  --header 'Authorization: Bearer <token>'
{
  "tools": [
    {
      "tool_name": "<string>",
      "call_count": 123,
      "avg_duration_ms": 123,
      "error_rate_pct": 123
    }
  ],
  "total_calls": 123,
  "days": 123
}

Authorizations

Authorization
string
header
required

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

Query Parameters

days
integer
default:7
Required range: 7 <= x <= 30

Response

Successful Response

Response for GET /api/admin/analytics/tools.

tools
AdminToolStat · object[]
required
total_calls
integer
required
days
integer
required