Spaces API

Spaces are containers for docs pages. List spaces first when an automation needs a spaceId for creating a page.

Endpoints

List docs spaces

Scope

docs:read

Parameters

projectIdstringFilter spaces by project ID

Response

{
  "spaces": [
    {
      "id": "spc_abc123",
      "projectId": "prj_xyz789",
      "name": "Engineering",
      "visibility": "shared",
      "createdAt": 1779680000000,
      "updatedAt": 1779680000000
    }
  ]
}