Quotas
Update a quota
Updates a quota's limit and/or mode. Other fields are immutable.
patch/v1/projects/{project_id}/quotas/{quota_id}
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/quotas/{quota_id}
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Path parameters
quota_idstring required
Quota ID
Request body
Example request
{
"limit": 1000,
"mode": "monitor",
"on_unpriced": "allow"
}Response
Quota updated successfully
Example response
{
"id": "quota_V1StGXR8Z5jdHi6B",
"current_usage": {
"window_key": "2026-07-07T12:31Z",
"count": 42
}
}Changes
No recorded changes to this operation across all 1 revision of this API.