Create Rate Limits Policy
Create a new rate limits policy to control the rate of requests or tokens consumed per minute, hour, or day.
POST
Documentation Index
Fetch the complete documentation index at: https://portkey-docs-migration-04-ai-tools.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Body
application/json
Array of conditions that define which requests the policy applies to
Minimum array length:
1Array of group by fields that define how usage is aggregated
Minimum array length:
1Policy type
Available options:
requests, tokens Rate unit:
rpm- Requests/Tokens per minuterph- Requests/Tokens per hourrpd- Requests/Tokens per day
Available options:
rpm, rph, rpd Rate limit value
Policy name
Maximum string length:
255Example:
"100 Requests per Minute"
Workspace ID or slug. Required if not using API key authentication.
Organization ID. Required if not using API key authentication.

