跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.lemondata.cc/llms.txt

Use this file to discover all available pages before exploring further.

概览

这个端点返回所选 API Key 的消费账单聚合结果,包括总费用、总请求数、按计量单位拆分的用量,以及按请求中的模型名(model)、厂商、sceneaccessChannel、缓存类型统计的拆分和按天费用趋势。

注意事项

  • 充值、发票等组织级财务流水不会包含在这里。

示例

curl -X GET "https://api.lemondata.cc/v1/management/api-keys/key_abc123def456/billing?startDate=2026-01-01&endDate=2026-01-31" \
  -H "Authorization: Bearer mt-your-management-token"

请求 / 响应

使用上面的交互式 OpenAPI 面板获取确切的模式。