{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/anthropic/main/json-schema/anthropic-cost-report-schema.json", "title": "CostReport", "x-generated": "2026-09-23", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/anthropic-cost-api-openapi.yml#/components/schemas/CostReport", "type": "object", "properties": { "data": { "type": "array", "items": { "type": "object", "properties": { "starting_at": { "type": "string", "format": "date-time" }, "ending_at": { "type": "string", "format": "date-time" }, "results": { "type": "array", "items": { "type": "object", "properties": { "workspace_id": { "type": [ "string", "null" ] }, "description": { "type": "string" }, "cost_type": { "type": "string" }, "context_window": { "type": [ "string", "null" ] }, "model": { "type": [ "string", "null" ] }, "service_tier": { "type": [ "string", "null" ] }, "token_type": { "type": [ "string", "null" ] }, "currency": { "type": "string", "default": "USD" }, "amount": { "type": "string" } } } } } } }, "has_more": { "type": "boolean" }, "next_page": { "type": [ "string", "null" ] } } }