Workspaces

Manage workspaces, members, roles, invitations, and preferences.

Get Workspace Preferences

get
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
Responses
get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/preferences

List Workspace User Invites

get
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
Query parameters
page_sizeinteger · int32Optional

The maximum number of invitations to return. If unspecified, at most 50 invitations will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_tokenstringOptional

A page token, received from a previous ListWorkspaceUserInvites call. Provide this to retrieve the subsequent page.

Responses
get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/invites

List Workspace Roles

get
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
Query parameters
page_sizeinteger · int32Optional

The maximum number of roles to return. If unspecified, at most 50 roles will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_tokenstringOptional

A page token, received from a previous ListWorkspaceRoles call. Provide this to retrieve the subsequent page.

Responses
get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/roles

List Workspace Users

get
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
Query parameters
page_sizeinteger · int32Optional

The maximum number of users to return. If unspecified, at most 50 users will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_tokenstringOptional

A page token, received from a previous ListWorkspaceUsers call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListWorkspaceUsers must match the call that provided the page token.

filterstringOptional

Optional filter string following AIP-160 filtering standards. Supported filter fields:

  • role: Filter by role name (case-insensitive). Example: role="Workspace Viewer"
  • role_scope: Filter by role scope. Values: "organization" or "workspace". Example: role_scope=workspace
  • search: Search by user display name or email (partial match). Example: search:"john"
order_bystringOptional

Optional comma-separated list of fields to order by, following AIP-132. Supported fields: display_name, email, created_time, updated_time Example: "display_name,created_time desc" Default ordering is by created_time descending if not specified.

Responses
get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}/users

Count Workspace Users

post
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
Body

Request message for counting users in specific workspaces.

workspace_idsstring[]Required
Responses
post
/api/v1/organizations/{organization_id}/workspaces:countUsers

Get Workspace

get
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
Responses
get
/api/v1/organizations/{organization_id}/workspaces/{workspace_id}

List Workspaces

get
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
Query parameters
page_sizeinteger · int32Optional

The maximum number of workspaces to return. If unspecified, at most 50 workspaces will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_tokenstringOptional

A page token, received from a previous ListWorkspaces call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListWorkspaces must match the call that provided the page token.

filterstringOptional

Optional. A filter expression to constrain the workspaces returned. The expression follows the syntax defined in AIP-160. Supported fields for filtering:

  • title: The display name of the workspace

Examples:

  • title = "My Workspace" - exact match
  • title : "workspace" - contains match (case-insensitive)
order_bystringOptional

Optional comma-separated list of fields to order by, following AIP-132. Supported fields: title, create_time, update_time Example: "title", "create_time desc", "update_time desc,title" Default ordering is by create_time descending if not specified.

Responses
get
/api/v1/organizations/{organization_id}/workspaces

Current User Organization Workspaces

get
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
Query parameters
page_sizeinteger · int32Optional

The maximum number of workspaces to return. If unspecified, at most 50 workspaces will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_tokenstringOptional

A page token, received from a previous CurrentUserOrganizationWorkspaces call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to CurrentUserOrganizationWorkspaces must match the call that provided the page token.

filterstringOptional

Optional filter string following AIP-160 filtering standards. Example: "title='Development'"

Responses
get
/api/v1/me/organizations/{organization_id}/workspaces

Last updated

Was this helpful?