API analytics by API key
Per-API-key usage attribution for your organization — rolling request counts (today / 7d / 30d) bucketed by key and joined to each key’s human-readable name, prefix, last-four, last-used timestamp, and last-used IP. Powers the “By app” panel so you can see which key is driving traffic. Unattributed dashboard/session traffic and rotated/deleted keys surface as sentinel rows. Requires an authenticated owner, admin, developer, or viewer session.
Authorizations
Dashboard JWT token from Clerk
Query Parameters
Bounds the SQL scan range; today/7d/30d counts are always returned regardless of this value.
24h, 7d, 30d Which column to sort the keys by (descending).
count_30d, count_7d, count_today, last_used_at Maximum number of key rows to return.
1 <= x <= 200Include keys that have been revoked, rotated, or deleted. Send true/1 to enable; any other value (including false) is treated as false.