Cockpit usage summary

View as Markdown

Aggregated requests, token split, and cost for the VK scope over the selected period (default billing_cycle). total_tokens.input maps to Collector prompt/input tokens and total_tokens.output maps to completion/output tokens when Collector split fields are available.

Headers

AuthorizationstringRequired

Bearer virtual key token (prefix vk-)

Query parameters

periodstringOptionalDefaults to billing_cycle
Period key

Response

OK
data_sourcestringOptional
degradedbooleanOptional
messagestringOptional
periodobjectOptional
total_cost_centsintegerOptional
total_requestsintegerOptional
total_tokensobjectOptional
vs_previous_periodobjectOptional

Errors

401
Unauthorized Error