GET
/
workspaces
Get all workspaces
curl --request GET \
  --url https://s-server-demo.siftd.ai:9800/api/workspaces \
  --header 'Authorization: Bearer <token>'
[
  {
    "current_user_role": "<string>",
    "name": "<string>",
    "parent_workspace_id": "<string>",
    "workspace_id": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

org_id
string
required

Organization ID

name_regex
string

Regex to filter workspaces by name

limit
integer

Limit the number of workspaces returned

offset
integer

Offset the workspaces returned

Response

200 - application/json

OK

The response is of type object[].