Admin Dashboard
Admin Dashboard

Costs By Functionality

Spend grouped by user-facing functionality (chat, report generation, refine, refine visualization, executive summary, infographic, PPTX generation, Ask CASPR). The non-technical, feature-level cost view.

get/api/v1/admin/costs/by-functionality

Request

  • Base URL
    https://backend.caspr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: token

Query parameters

rangestring

Preset: today | 2d | 7d | 30d | all (ignored if start_date/end_date set)

start_datestring nullable

Custom window start (YYYY-MM-DD or ISO datetime). Overrides range presets.

end_datestring nullable

Custom window end (YYYY-MM-DD or ISO datetime). Defaults to now.

user_idstring nullable

Response

Successful Response

unknown required

Changes

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