Skip to main content
GET
/
scim
/
workspaces
curl -X GET https://api.portkey.ai/v1/scim/workspaces \
-H "x-portkey-api-key: PORTKEY_API_KEY"
{
  "mappings": [
    {
      "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
      "workspace_id": "ws_my-workspace",
      "scim_group": "Engineering Team",
      "scim_group_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "role": "member"
    }
  ],
  "total_count": 1
}

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.

Authorizations

x-portkey-api-key
string
header
required

Query Parameters

workspace_id
string

Filter mappings by workspace ID or slug.

scim_group_id
string

Filter mappings by SCIM group ID.

role
enum<string>

Filter mappings by role.

Available options:
admin,
member,
manager

Response

200 - application/json

OK

mappings
object[]
total_count
integer

Total number of mappings returned.

Last modified on May 9, 2026