Get aggregated usage stats (admin only). group_by: operation, billing_type, extraction_mode, tenant_id, category (consumption taxonomy: extraction, AI prefill, training, OCR), trigger (deprecated alias for category), day, week, month, day_category (daily × category for stacked charts). Consumption only unless include_adjustments=true.

get/v1/admin/usage-stats

Request

  • Base URL: https://api.clichefactory.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.clichefactory.com/v1/admin/usage-stats
  • Auth: none declared

Query parameters

from_datestring nullable
to_datestring nullable
group_bystring
include_adjustmentsboolean

Include admin_adjustment rows (audit view). Off by default: credit sales and comps are not consumption, and their imputed USD value would swamp metered usage and read as 100% margin.

Headers

X-API-KEYstring nullable

Response

Successful Response

periodobject required

Changes

No recorded changes to this operation across all 1 revision of this API.