Account
Usage by day and this period’s plans
GET
https://api.montek.io/v1/usageThe key’s project’s billed usage per day (UTC) and model, and each of its plans’ included units, use and overage this period.
Parameters
from query · string optionalFirst day, UTC. Default: 29 days before to.
to query · string optionalLast day, UTC. Default: today.
model query · string optionalkey query · string optionalOnly calls made with this key id.
Responses
200 Usage.
400 The request is malformed.
401 Missing or invalid API key.
403 The key may not call this endpoint, or its project is suspended.
429 Too many requests for this key. Retry after the number of seconds in Retry-After.
200
from string requiredto string requireddays array of object requiredplans array of object required