🚀 Introducing Agent Gateway — governance, observability, and control for your AI agents.  Register for live webinar ↗
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"object": "policy_usage_limits"
}Create a new rate limits policy to control the rate of requests or tokens consumed per minute, hour, or day.
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"object": "policy_usage_limits"
}Documentation Index
Fetch the complete documentation index at: https://docs.portkey.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Array of conditions that define which requests the policy applies to
1Show child attributes
Array of group by fields that define how usage is aggregated
1Show child attributes
Policy type
requests, tokens Rate unit:
rpm - Requests/Tokens per minuterph - Requests/Tokens per hourrpd - Requests/Tokens per dayrpm, rph, rpd Rate limit value
Policy name
255"100 Requests per Minute"
Workspace ID or slug. Required if not using API key authentication.
Organization ID. Required if not using API key authentication.
Was this page helpful?