GET
/
integrations
/
{slug}
/
workspaces
List integration workspace access
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
        }
      ]
    }
  ]
}

Authorizations

x-portkey-api-key
string
header
required

Path Parameters

slug
string
required

Response

200 - application/json

List of workspace access configurations

The response is of type object.