Infrastructure
Usage
Reports the calling key's quotas: limits, usage, what is left and when each window resets.#
GET
/lmkit/v1/usage/meAnswers for the key that authenticates the request (or the anonymous caller): every quota level that limits it (the server quota, its key group's quota, its own override), each with its requests-per-minute and 24-hour token windows, plus the tokens this key spent over the last 24 hours. The tightest level binds. This route is never refused for quota reasons, so a client can read its budget when a limit is reached.
Responses
| Status | Type | Description |
|---|---|---|
| 200 | application/json | OK |
| 401 | Unauthorized |
curl -X GET "$LMKIT_ONE_URL/lmkit/v1/usage/me" \
-H "Authorization: Bearer $LMKIT_API_KEY"