Cockpit usage summary

以 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.

请求头

Authorizationstring必需

Bearer virtual key token (prefix vk-)

查询参数

periodstring可选默认为 billing_cycle
Period key

响应

OK
data_sourcestring可选
degradedboolean可选
messagestring可选
periodobject可选
total_cost_centsinteger可选
total_requestsinteger可选
total_tokensobject可选
vs_previous_periodobject可选

错误

401
Unauthorized Error