Skip to content

AI usage

GET
/api/billing/usage
curl --request GET \
--url 'https://met.cards/api/billing/usage?by=feature' \
--header 'Authorization: Bearer <token>'

Calls, tokens and what was charged in one AI period, by feature or by member (with each member’s limit). Defaults to the current period.

by
required
string
Allowed values: feature member
period
string

Any day (YYYY-MM-DD) inside the AI period to show. Defaults to the current period.

Media typeapplication/json
object
Examplegenerated
{}