get_api_key_usage
Retrieve usage for an API key ID: verification counts by type, channel, and status, plus request, confirmation, and authorization totals and attribution context. Counts only—no recipient identifiers.
Instructions
Get per-API-key usage for a given key id: verification counts by type/channel/status, plus verification-request/confirmation/authorization totals, and attribution context (attribution_cutoff_at, attributed_fraction). Counts only — no recipient identifiers. Scoped to the authenticated account; an API-key caller may read only its own key.
ACCESS: needs a Proof account. Set PROOF_API_KEY and restart this server, or sign in with start_login — a session opens this tool — then call this tool again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The API key id to fetch usage for | |
| environment | No | Scope metrics to test or production data (default: production) |