Workspaces

List workspaces

List every workspace the caller can access. Pass ?archived=1 to list soft-archived workspaces only; the default view excludes them.

get/api/workspaces

Request

  • Base URL
    https://trydock.ai
  • Auth
    HTTP bearer

Query parameters

archived'1'

Set to 1 to list archived workspaces only.

Response

Workspace list.

Example response

{
  "workspaces": [
    {
      "id": "ws_01J5Z6Q7…",
      "slug": "launch-plan",
      "name": "Launch plan",
      "primarySurface": {
        "id": "srf_01J5Z…",
        "slug": "table"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.