Skip to main content
GET
Read tenant-scoped usage evidence
Read tenant-scoped Praxa usage totals and UTC time buckets for a bounded reporting range and optional API key filter.
Availability: Production partner preview. Required scope: usage:read.

Authenticate safely

Create a disposable personal workspace API key with exactly usage:read. Send it as Authorization: Bearer $PRAXA_API_KEY. A Gateway OAuth token, Supabase JWT, provider credential, or organization memory key is not interchangeable with this key. The hosted playground sends the credential from your browser session to the documented API through the configured playground proxy. Use test data, never share the key, and revoke it when the check ends.

Request fields

string
required
Inclusive RFC 3339 range start.
string
required
Exclusive RFC 3339 range end. It must be after from; the management implementation accepts a maximum range of 366 days.
hour | day | month
group_by query parameter.
string
Limit readback to one API key owned by the tenant.

Runnable request examples

What success means

A 200 response contains evidence-bounded usage for the authenticated tenant and requested range.

Successful response

200 — Evidence-bounded usage totals and time buckets.
v1
required
apiVersion response field.
string
required
from response field.
string
required
to response field.
string
required
currency response field.
object
required
totals response field.
array<object>
required
series response field.
array<object>
byApiKey response field.

Handle failures

Example problem

Verify the result

  1. Confirm the response echoes the requested range and grouping.
  2. Check that every bucket is inside the range.
  3. Repeat with an owned API key filter and reject foreign key IDs.

Retry, cleanup, and production use

  • Treat 401, 403, and 409 as authority or state signals, not generic retry prompts.
  • For 429 or retryable 5xx responses, follow server retry guidance and keep a bounded attempt budget.
  • Move the request into a trusted application backend before production; never ship the Praxa key in browser or mobile code.
  • Revoke the disposable key, disable test webhooks, and erase disposable candidate data after validation.
Continue with API authentication, the failure and retry guide, and the end-to-end coverage matrix.
Last modified on August 14, 2026