Get API key inference limits

http
GET /api-keys/{id}/limits

Get API key limits. Requires project.api_keys.read.

Parameters

NameInRequiredDescription
idpathYes

Responses

StatusDescription
200Model and request-rate limits of a project-bound API key. effective_allowed_models accounts for the project inference policy. Unconfigured limits return configured: false with null limits. The gateway applies stored limits only when enforced is true. Requires project.api_keys.read on the key’s project; account-wide keys answer 400.
400Bad request
401Unauthorized
403Forbidden
404Not found
500Server error