Skip to main content

Overview

Get aggregated usage metrics across all API keys for the authenticated user, optionally scoped to a date range.

GET /api/v1/api-keys/usage

Purpose: return API key usage metrics for a user. Query parameters:
  • from (RFC3339, optional)
  • to (RFC3339, optional)
Notes:
  • Series data is only included when both from and to are provided.
Example request:

Response

Status: 200 OK Example response:
Errors:
  • 400 invalid date params.
  • 401 unauthorized.
  • 500 internal error.