curl --request GET \
--url https://api.portkey.ai/v1/integrations/{slug}/workspaces \
--header 'x-portkey-api-key: <api-key>'
{
"total": 123,
"workspaces": [
{
"id": "ws-my-team-1234",
"enabled": true,
"usage_limits": [
{
"credit_limit": 10,
"periodic_reset": "monthly",
"alert_threshold": 8
}
],
"rate_limits": [
{
"type": "requests",
"unit": "rpd",
"value": 123
}
]
}
]
}
Retrieves workspace access configuration for an integration, including usage limits and rate limits.
curl --request GET \
--url https://api.portkey.ai/v1/integrations/{slug}/workspaces \
--header 'x-portkey-api-key: <api-key>'
{
"total": 123,
"workspaces": [
{
"id": "ws-my-team-1234",
"enabled": true,
"usage_limits": [
{
"credit_limit": 10,
"periodic_reset": "monthly",
"alert_threshold": 8
}
],
"rate_limits": [
{
"type": "requests",
"unit": "rpd",
"value": 123
}
]
}
]
}
List of workspace access configurations
The response is of type object
.
Was this page helpful?