Überblick
Dieser Endpunkt gibt Nutzungsdetails auf API-Key-Ebene zurück, ohne physische Routing-Metadaten offenzulegen.Query-Parameter
| Parameter | Typ | Standard / Grenzen | Beschreibung |
|---|---|---|---|
page | integer | Standard 1, min. 1 | Seitennummer ab 1 |
limit | integer | Standard 50, min. 1, max. 100 | Anzahl Einträge pro Seite |
model | string | max. Länge 100 | Angeforderter Name des angeforderten Modells |
modelVendor | string | max. Länge 100 | Öffentlicher Modellanbieter |
scene | enum | - | chat, image, audio, video, embedding, rerank, translation, music, 3d, realtime |
accessChannel | enum | - | platform oder byok |
startDate | string | - | Inklusive Untergrenze; akzeptiert RFC3339 mit Zeitzone oder YYYY-MM-DD |
endDate | string | - | Inklusive Obergrenze; akzeptiert RFC3339 mit Zeitzone oder YYYY-MM-DD |
startDate und endDate zusammen angegeben werden, muss startDate kleiner oder gleich endDate sein.
Hinweise
- Die Antwort ist paginiert.
- Die Antwort enthält nur öffentliche Reporting- und Billing-Felder.
- Sobald die zugrunde liegende Anfrage abgerechnet wurde, kann jede Usage-Zeile zusätzlich
billing_transaction_identhalten. Verwenden Sie den Wert zusammen mitrequest_idfür den Abgleich auf Anfrageebene. - Interne Routing- und physische Kanalmetadaten werden ausgeblendet.
Beispiel
Anfrage / Antwort
Verwenden Sie das interaktive OpenAPI-Panel oben für das genaue Schema und die Response-Felder.Response example
Important fields
API key summary using the same fields as list/create/update responses.
Paginated usage rows.
Pagination metadata with
page, limit, total, and totalPages.Aggregated totals for the selected filters.
Aggregated breakdowns for the selected filters.
Public request identifier for support and reconciliation.
Settled billing transaction id when available.
Requested public model name.
Logical public model used for reporting.
Public model vendor.
Public request scene.
platform or byok.Billing usage unit, such as
per_token.Usage quantity as a JSON number for display.
Exact usage quantity as a decimal string.
Prompt token count.
Completion token count.
Total token count.
Cache read token count.
Total cache write token count.
Five-minute cache write token count.
One-hour cache write token count.
Cost in USD as a JSON number for display.
Exact cost in USD as a decimal string.
ISO usage row timestamp.
Total request count.
Total cost in USD as a JSON number for display.
Exact total cost in USD as a decimal string.
Total prompt tokens.
Total completion tokens.
Total tokens.
Usage quantity grouped by usage unit.
Breakdown by requested public model.
Breakdown by logical public model.
Breakdown by public model vendor.
Breakdown by public request scene.
Breakdown by
platform or byok access channel.Daily cost trend.