GET/v1/usage

usage.get

Returns the rolling 30-day event count and a COGS estimate (USD) for the caller's tenant. Aggregated daily from per-service snapshots; brand-new tenants with no snapshot rows yet receive zeros with a synthetic `[now-30d, now]` window. Singleton — the bearer token can only read its own tenant's usage.

Response

No parameters.

Examples

curl -sS -X GET \
  -H "Authorization: Bearer $CULPRIT_API_TOKEN" \
  https://api.theculprit.ai/v1/usage

Try it

Stored locally in your browser at localStorage.docs.tryit.token. Never sent to Culprit's analytics. Use a read-only token.