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 URLhttps://api.caveman.so/api/v1
- URLhttps://api.caveman.so/api/v1/reports/costs
- Auth
- OAuth 2Authorization code: /api/v1/oauth/authorizeToken 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.
Changes
No recorded changes to this operation across all 1 revision of this API.