🚀 Introducing Agent Gateway — governance, observability, and control for your AI agents.  Register for live webinar ↗
curl --request GET \
--url https://api.portkey.ai/v1/policies/rate-limits/{rateLimitsPolicyId} \
--header 'x-portkey-api-key: <api-key>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "requests",
"unit": "rpm",
"value": 123,
"status": "active",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"last_updated_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"conditions": [
{
"key": "workspace_id",
"value": "workspace-123"
}
],
"group_by": [
{
"key": "api_key"
}
],
"object": "policy_rate_limits"
}Get a single rate limits policy by ID.
curl --request GET \
--url https://api.portkey.ai/v1/policies/rate-limits/{rateLimitsPolicyId} \
--header 'x-portkey-api-key: <api-key>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "requests",
"unit": "rpm",
"value": 123,
"status": "active",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"last_updated_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"conditions": [
{
"key": "workspace_id",
"value": "workspace-123"
}
],
"group_by": [
{
"key": "api_key"
}
],
"object": "policy_rate_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.
Rate limits policy UUID
Filter by status
active, archived Rate limits policy details
Policy UUID
Policy type
requests, tokens Rate unit
rpm, rph, rpd Rate limit value
Policy status
active, archived Workspace UUID
Organization UUID
Creation timestamp
Last update timestamp
Policy name
Array of conditions
Show child attributes
Array of group by fields
Show child attributes
"policy_rate_limits"
Was this page helpful?