Skip to main content
GET
/
v1
/
usage
Get developer API quota and usage
curl --request GET \
  --url https://api.yalg.ai/v1/usage \
  --header 'x-api-key: <api-key>'
{
  "monthlyQuota": 10000,
  "monthlyUsed": 382,
  "monthlyRemaining": 9618,
  "perMinuteLimit": 120,
  "currentWindowUsed": 3,
  "currentWindowRemaining": 117,
  "periodStart": "2026-06-01T00:00:00.000Z",
  "periodEnd": "2026-06-30T23:59:59.000Z"
}

Authorizations

x-api-key
string
header
default:yalg_live_your_api_key
required

YALG Developer API key. Send it in the x-api-key header from a server-side environment only.

Response

Successful response. Get developer API quota and usage.

The response is of type object.