Factuarea APIDevelopers

Retrieve the daily usage of an API key

Retrieve the daily usage of an API key over the last days days (7, 30 or 90; default 30). - daily lists requests, successes, 4xx, 429 and 5xx per day, oldest first; total sums them. - last_used_at/last_used_ip are null if never used.

Requires account:read. - Unknown key returns 404 api_key_not_found; other days returns 422.

GET
/accounts/{account}/api-keys/{api_key}/usage

Authorization

AuthorizationBearer <token>

Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.

In: header

Path Parameters

account*string

Public identifier (UUID v7) of your account. Get it from GET /v1/me (data.account.id).

Formatuuid
api_key*string

Public identifier (UUID v7) of the API key.

Formatuuid

Query Parameters

days?integer

Number of days of the series, ending today: 7, 30 or 90 (default 30).

Value in7 | 30 | 90

Headers

Factuarea-Version?string

Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.

Formatdate

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json