Admin Dashboard
Admin Dashboard

Costs By Model

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

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
limitinteger

Response

Successful Response

unknown required

Changes

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