개요
이 엔드포인트는 물리 라우팅 메타데이터를 노출하지 않고 API 키 단위 사용 내역을 반환합니다.쿼리 파라미터
| 파라미터 | 타입 | 기본값 / 제한 | 설명 |
|---|---|---|---|
page | integer | 기본값 1, 최소 1 | 1부터 시작하는 페이지 번호 |
limit | integer | 기본값 50, 최소 1, 최대 100 | 페이지 크기 |
model | string | 최대 길이 100 | 요청된 모델 이름 |
modelVendor | string | 최대 길이 100 | 공개 모델 공급자 |
scene | enum | - | chat, image, audio, video, embedding, rerank, translation, music, 3d, realtime |
accessChannel | enum | - | platform 또는 byok |
startDate | string | - | 포함되는 시작 경계값. 타임존이 포함된 RFC3339 또는 YYYY-MM-DD 지원 |
endDate | string | - | 포함되는 종료 경계값. 타임존이 포함된 RFC3339 또는 YYYY-MM-DD 지원 |
startDate 와 endDate 를 함께 보내는 경우 startDate 는 endDate 보다 빠르거나 같아야 합니다.
참고 사항
- 응답은 페이지네이션됩니다.
- 응답에는 공개 가능한 과금 및 리포팅 필드만 포함됩니다.
- 기본 요청의 정산이 완료되면 각 usage 항목에
billing_transaction_id가 포함될 수 있습니다. 요청 단위 정산 대조에는request_id와 함께 사용하세요. - 내부 라우팅 및 물리 채널 메타데이터는 의도적으로 숨겨집니다.
예시
요청 / 응답
정확한 스키마와 응답 필드는 상단의 인터랙티브 OpenAPI 패널을 참고하세요.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.