Create Rate Limit Override
Changed onCreate a new rate limit override for an org or user.
This endpoint requires internal API key authentication.
Example request:
{
"identifier": "org:org_123",
"endpointLimits": {
"generation": {
"maxTokens": 100,
"refillRatePerSecond": 5.0
},
"status": {
"maxTokens": 200,
"refillRatePerSecond": 50.0
}
},
"note": "Enterprise plan with higher limits"
}
Request
- Base URLhttps://api.mirage.app (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Internal API Key for authentication
Request body
Example request
{
"identifier": "org:org_123"
}Response
Successful Response
Changes
- warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status
- warning
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info