GET /reports/costs

GET /api/v1/reports/costs on the Caveman Cloud control plane. Requires the billing:read scope. Exposed to autonomous agents as the costs action of the caveman_reports tool (read access). Spend, usage, compression, routing, cache, models, traffic shape and verified-savings rollups for the bound project over a time window.

get/reports/costs

Request

  • Base URL
    https://api.caveman.so/api/v1
  • URL
    https://api.caveman.so/api/v1/reports/costs
  • Auth
    • OAuth 2
      Authorization code: /api/v1/oauth/authorize
      Token URL: /api/v1/oauth/token scopes: billing:read
    • or HTTP bearer
    • or API key in cookie cave_access
    • or API key in cookie __Secure-cave_identity.session_token

Query parameters

fromstring date-time
sample_databoolean
tostring date-time
windowstring

Response

Window-scoped report with separate observed cache and inferred baseline-routing comparisons.

verified_savingsnumber required

Existing signed provider-backed ledger total. Never includes inferred router or unattributed cache benefit.

Changes

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