Read app usage and telemetry
usageRead an OWNED app's USAGE + TELEMETRY (the tenant observability surface): total + error request counts, bytes served, average + peak served latency (ms), the per-request credit spent, and the observation window — folded live from the gateway's per-response usage events. Returns {Usage:{app,requests,errors,bytes,avg_latency_ms,max_latency_ms,charged_micros,first_ms,last_ms}}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app": "<app>"
},
"name": "usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| token | No | fallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused |