Saltar para o conteúdo principal
GET
Get usage
A consulta não custa nada. Sem parâmetros, ela devolve o mês UTC atual até hoje, dividido por dia e mecanismo. Adicione groupBy=key para ver qual chave de API gastou os créditos. O significado de cada campo está em Créditos e limites.

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de consulta

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
padrão:day,engine

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

Exemplos:

"engine"

"day,key"

Resposta

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

success
boolean
obrigatório
data
object
obrigatório