Workspaces

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

Get Workspace Preferences

get
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
Responses
chevron-right
200

A successful response.

application/json

Represents workspace-specific settings or preferences.

namestringOptional
support_team_accessbooleanOptional

Support team access to workspace for debugging issues.

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
chevron-right
200

A successful response.

application/json

Response message for ListWorkspaceUserInvites.

next_page_tokenstringOptional

A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to ListWorkspaceUserInvites to get the next page of results.

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
chevron-right
200

A successful response.

application/json

Response message for ListWorkspaceRoles.

next_page_tokenstringOptional

A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to ListWorkspaceRoles to get the next page of results.

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
chevron-right
200

A successful response.

application/json

Response message for listing users in a workspace.

next_page_tokenstringOptional

A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to ListWorkspaceUsers to get the next page of results. If this field is empty, it means there are no more results.

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
chevron-right
200

A successful response.

application/json

Response message for counting users in specific workspaces.

post
/api/v1/organizations/{organization_id}/workspaces:countUsers

Get Workspace

get
Authorizations
AuthorizationstringRequired

Personal Access Token.

Path parameters
organization_idstringRequired
workspace_idstringRequired
Responses
chevron-right
200

A successful response.

application/json

A Workspace is a container for agents within an organization.

namestringOptional

The resource name of the workspace. Format: organizations/{organization}/workspaces/{workspace} This field is assigned by the server at creation and is immutable thereafter. Clients may include this field in Get/Update/Delete requests to identify the resource.

titlestringRequired

The user-defined display name for the workspace. This corresponds to the name column in the database.

workspace_iconstringOptional

The workspace icon data. This field contains the identifier of the workspace icon.

workspace_icon_colorstringOptional

The color of the workspace icon.

create_timestring · date-timeRead-onlyOptional

The timestamp when the workspace was created.

update_timestring · date-timeRead-onlyOptional

The timestamp when the workspace was last updated.

creator_display_namestringRead-onlyOptional

The display name of the user who created the workspace.

creator_emailstringRead-onlyOptional

The email address of the user who created the workspace.

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
chevron-right
200

A successful response.

application/json

Response message for listing workspaces.

next_page_tokenstringOptional

A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to ListWorkspaces to get the next page of results. If this field is empty, it means there are no more results.

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
chevron-right
200

A successful response.

application/json

Response message for listing workspaces for the current user within a specific organization.

next_page_tokenstringOptional

A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to CurrentUserOrganizationWorkspaces to get the next page of results. If this field is empty, it means there are no more results.

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

Last updated

Was this helpful?