LM-Kit OneDocs2026.11.1lm-kit.comEULA
Infrastructure

Limits

Reports the limits that apply to the calling key: their value, what happens past them and whether the request may choose.#

GET/lmkit/v1/limits

Answers for the key that authenticates the request (or the anonymous caller). Each limit states its value for the server, its key group or the key itself, whichever is most specific, and, for the limits measured per operation, the value each operation that reads documents applies. 'action' is what happens past the value: 'reject' refuses the request (limit_exceeded) and 'truncate' reads the part the limit allows and lists it in limits_applied. When 'caller_may_choose' is true a request picks with on_limit. A request may lower a page limit with max_pages, never raise it. A limit that does not apply is left out.

Responses

StatusTypeDescription
200application/json

OK

401

Unauthorized

curl -X GET "$LMKIT_ONE_URL/lmkit/v1/limits" \
  -H "Authorization: Bearer $LMKIT_API_KEY"