🎉 Portkey raises Series A - $15M to build AI that never breaks  Read announcement →
curl --request GET \
--url https://api.portkey.ai/v1/policies/rate-limits \
--header 'x-portkey-api-key: <api-key>'{
"object": "list",
"data": [
{
"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"
}
]
}
],
"total": 123
}List all rate limits policies with optional filtering.
curl --request GET \
--url https://api.portkey.ai/v1/policies/rate-limits \
--header 'x-portkey-api-key: <api-key>'{
"object": "list",
"data": [
{
"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"
}
]
}
],
"total": 123
}Documentation Index
Fetch the complete documentation index at: https://portkey-docs-log-export-guide-1773064217.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Workspace ID or slug
Filter by status
active, archived Filter by policy type
requests, tokens Filter by rate unit
rpm, rph, rpd Number of items per page
x >= 0Current page number
x >= 0Was this page helpful?