메인 콘텐츠로 건너뛰기
GET
Get usage
조회에는 크레딧이 들지 않습니다. 파라미터 없이 호출하면 이번 UTC 달의 오늘까지 사용량을 일과 엔진별로 나눠 반환합니다. groupBy=key를 더하면 어떤 API 키가 크레딧을 썼는지 볼 수 있습니다. 각 필드의 뜻은 크레딧과 한도에 있습니다.

인증

Authorization
string
header
필수

Your API key, sent as Authorization: Bearer <key>.

쿼리 매개변수

from
string<date>

First UTC date, inclusive. Default: the first day of the current UTC month.

to
string<date>

Last UTC date, inclusive. Default: today (UTC). The range spans at most 366 days, from and to included.

groupBy
string
기본값:day,engine

How to split the rows: a comma-separated choice of day, engine and key. Default: day,engine.

예시:

"engine"

"day,key"

응답

Credit and task totals for the range, and one row per combination of the chosen splits that had a charge.

success
boolean
필수
data
object
필수