メインコンテンツへスキップ

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.

概要

この endpoint は、物理ルーティングのメタデータを公開せずに、API Key 単位の使用量明細を返します。

Query パラメータ

パラメータ既定値 / 制約説明
pageinteger既定値 1、最小 11 始まりのページ番号
limitinteger既定値 50、最小 1、最大 1001 ページあたりの件数
logicalModelstring最大長 100リクエスト時に指定された論理モデル名
modelVendorstring最大長 100公開モデルのベンダー名
sceneenum-chatimageaudiovideoembeddingreranktranslationmusic3d
accessChannelenum-platform または byok
startDatestring-開始日時(含む)。タイムゾーン付き RFC3339 または YYYY-MM-DD を受け付けます
endDatestring-終了日時(含む)。タイムゾーン付き RFC3339 または YYYY-MM-DD を受け付けます
startDateendDate を同時に指定する場合、startDateendDate 以下である必要があります。

補足

  • レスポンスはページネーションされます。
  • レスポンスには公開可能な Billing / Reporting 項目のみが含まれます。
  • 基になるリクエストの課金精算が完了すると、各 usage 明細に billing_transaction_id が含まれる場合があります。request_id と合わせてリクエスト単位の照合に使用してください。
  • 内部ルーティングや物理チャネルのメタデータは非表示のままです。

curl "https://api.lemondata.cc/v1/management/api-keys/key_abc123def456/usage?page=1&limit=20&scene=video&accessChannel=platform&startDate=2026-03-01&endDate=2026-03-31" \
  -H "Authorization: Bearer mt-your-management-token"

リクエスト / レスポンス

正確な schema とレスポンス項目は、上部のインタラクティブな OpenAPI パネルを参照してください。