cURL
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.
List of workspace access configurations
Total number of workspaces
Show child attributes
Was this page helpful?