API ReferenceAgent
Per-tool usage analytics for the calling project
Aggregates tool calls across every run in the window: call count, success/fail counts, success rate, and p95 latency per tool.
Authorization
ApiKeyAuth Authorization<token>
Format: "Bearer kw_"
In: header
Path Parameters
projectID*string
Project UUID
Query Parameters
from?string
RFC3339, default now - 30d
to?string
RFC3339, default now
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/projects/string/agent/tools/stats"[ { "call_count": 0, "fail_count": 0, "is_new": true, "p50_latency_ms": 0, "p95_latency_ms": 0, "p99_latency_ms": 0, "prev_call_count": 0, "success_count": 0, "success_rate": 0, "tool_name": "string" }]