Skip to main content

Get All Workspaces

GET/workspaces

Retrieves a list of all workspaces.

Error Responses
403
ENABLE_EXTERNAL_API is not true, license missing, or Authorization header invalid.
404
Not available on Community Edition.
Request
curl -X GET "https://{your-domain}/api/ext/workspaces" -H "Authorization: Basic <access_token>"
Response — 200
[
{
  "id": "a831db72-c3d2-4b36-a98e-0023ffb15e66",
  "name": "demo-workspace",
  "status": "active",
  "groups": [
    {
      "id": "b3ae95dd-b1ca-4a21-abac-b321ee76698e",
      "name": "all_users"
    }
  ]
}
]