# What one page API key has done lately

The last 30 days of one API key minted on a pack page (leads, deals, …): calls per day, the routes it hit with counts and failures, failures by class, and when the key row was last used. Admin seat on that page. Reach for it when someone asks whether an integration's key is still working, how often it writes, or why its rows stopped arriving; a key that is not this page's is a 404, never an empty answer.

Access class: `def:admin`.

## Endpoint

`GET /v1/definitions/{key}/api-keys/{keyId}/usage`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| keyId | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
