Return MCP tool call frequency, performance, and recall hit rates.
Accepts window parameter: ‘7d’ (default) or ‘30d’.
cURL
curl --request GET \ --url https://api.example.com/api/analytics/tool-usage \ --header 'Authorization: Bearer <token>'
{ "tool_calls": [ { "tool_name": "<string>", "call_count": 123, "avg_duration_ms": 123, "avg_results_count": 123 } ], "total_calls": 123, "recall_hit_rate": { "total_recalls": 123, "recalls_with_hits": 123, "hit_rate_pct": 123 }, "busiest_hour": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Time window: 7d or 30d
^(7d|30d)$
Successful Response
Response for /api/analytics/tool-usage.
Show child attributes
Recall hit tracking metrics.