Get API key activity
get_api_key_activityRetrieve recorded request activity for an authenticated API key, including matched route patterns, statuses, caller source addresses, endpoint/source totals, and retained daily history.
Instructions
Get the recorded request activity for this API key: recent matched route patterns and statuses, resolved and separately labelled caller-claimed source addresses, endpoint/source totals, and retained daily history. API-key callers can inspect only the same key that authenticated the MCP connection, and this server needs a management key: a management key has no inference usage of its own and an inference key is refused on every account route, so read inference usage in the VPSnet panel. Key values, headers, query strings, path values, and request bodies are never returned. To protect the control plane during abusive bursts, audit writes are capped per key per minute and retained detail has a separate per-key row ceiling; totals describe recorded rows and are not a billing ledger.
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": {
"id": "<id>"
},
"name": "get_api_key_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | API key ID from list_api_keys (the calling key's own ID) | |
| limit | No | Recent request rows to return (default 50, maximum 200) |