Workspace and project basics tools

list_cloud_organizations

Returns every cloud organization you have access to. Start here when you don't yet know which organization to work with. The IDs returned by this tool feed into list_workspaces, list_projects, and get_cloud_organization_details.

Request parameters

This tool request doesn't require any parameters.

Response parameters

The tool returns a CloudOrganizationsResponse object with the following parameters:

ParameterTypeDescription
successboolWhether the request succeeded.
datalist[CloudOrganization]The organizations you belong to.
errorstr | nullError message if the request failed.

The CloudOrganization object has the following fields:

FieldTypeDescription
idstrThe organization's unique ID. Use this as cloud_organization_id in other tools.
namestrThe organization's display name.
admin_panel_urlstr | nullRelative URL to the admin panel for this organization.
enabled_moduleslist[str]Feature modules turned on for this organization, for example SSO_LOGIN.

get_cloud_organization_details

Returns admin metadata for a single cloud organization, including its domain, supervisor contacts, Salesforce ID, and enabled modules. Call list_cloud_organizations first if you don't know the ID.

Request parameters

NameTypeRequired?Description
cloud_organization_idstrYesThe organization ID returned by list_cloud_organizations.

Response parameters

The tool returns a CloudOrganizationDetailsResponse object with the following parameters:

ParameterTypeDescription
successboolWhether the request succeeded.
dataCloudOrganizationDetails | nullThe full organization record.
errorstr | nullError message if the request failed.

The CloudOrganizationDetails object has the following fields:

FieldTypeDescription
idstrThe organization's unique ID.
namestrThe organization's display name.
domainstr | nullThe domain registered to the organization.
enabled_moduleslist[str]Feature modules turned on for this organization.
supervisor_emailstr | nullPrimary supervisor's email.
internal_supervisor_emailstr | nullInternal supervisor's email.
salesforce_idstr | nullThe organization's Salesforce CRM identifier.

list_workspaces

Returns the workspaces inside a cloud organization. Each workspace groups one or more projects. Use this when you need to see how projects are organized inside an account, or to find the URL to a workspace in the app.

Request parameters

NameTypeRequired?Description
cloud_organization_idstrYesThe organization ID returned by list_cloud_organizations.

Response parameters

The tool returns a WorkspacesResponse object with the following parameters:

ParameterTypeDescription
successboolWhether the request succeeded.
datalist[Workspace]The workspaces in the organization.
errorstr | nullError message if the request failed.

The Workspace object has the following fields:

FieldTypeDescription
idstrThe workspace's unique ID.
namestrThe workspace's display name.
urlstr | nullURL that opens this workspace in the app.
data_engine_urlstr | nullURL to the data engine for this workspace.
projectslist[WorkspaceProject]Projects inside this workspace.
discovery_accountslist[DiscoveryAccount]Discovery accounts linked to this workspace.

list_projects

Returns every project in a cloud organization as a flat list. You can optionally narrow results to a single workspace. Each project ID returned here is the project_id other tools need.

Request parameters

NameTypeRequired?Description
cloud_organization_idstrYesThe organization ID returned by list_cloud_organizations.
workspace_idstr | nullNoA workspace ID to limit results to one workspace.

Response parameters

The tool returns a ProjectsResponse object with the following parameters:

ParameterTypeDescription
successboolWhether the request succeeded.
datalist[Project]A flat list of projects across the organization.
errorstr | nullError message if the request failed.

The Project object has the following fields:

FieldTypeDescription
idstrThe project's unique ID. Use this as project_id in other tools.
namestrThe project's display name.
categorystr | nullThe project category, for example dev, test, or int.
urlstr | nullURL that opens this project in the app.
workspace_idstrID of the workspace this project belongs to.
workspace_namestrName of the workspace this project belongs to.

list_projects_with_overview

Returns every project alongside its KPI snapshot in a single response. This combines list_projects and get_project_overview so you can survey customer counts, event counts, and active campaign counts across an organization without making many separate calls.

Request parameters

NameTypeRequired?Description
cloud_organization_idstrYesThe organization ID returned by list_cloud_organizations.
workspace_idstr | nullNoA workspace ID to limit results to one workspace.

Response parameters

The tool returns a ProjectsWithOverviewResponse object with the following parameters:

ParameterTypeDescription
successboolWhether the request succeeded.
datalist[ProjectWithOverview]Projects with their KPI snapshots attached.
errorstr | nullError message if the top-level request failed.

The ProjectWithOverview object has the following fields:

FieldTypeDescription
project_idstrThe project's unique ID.
namestrThe project's display name.
workspace_idstrID of the workspace this project belongs to.
workspace_namestrName of the workspace this project belongs to.
categorystr | nullThe project category, for example dev, test, or int.
overviewany | nullThe project's KPI snapshot. Null if the overview call failed for this project.
overview_errorstr | nullError from the overview fetch, if it failed for this project.

get_project_overview

Returns a high-level health-check for a single project: total customer count, total event count, active campaign counts by channel, and quota usage. Useful when you want one quick look at the size and activity of a project.

Request parameters

NameTypeRequired?Description
project_idstrYesThe project ID returned by list_projects.

Response parameters

The tool returns a ProjectOverviewResponse object with the following parameters:

ParameterTypeDescription
successboolWhether the request succeeded.
dataany | nullA snapshot of customer counts, event counts, active campaign counts by channel, and quota usage. The exact shape depends on the project's configuration.
errorstr | nullError message if the request failed.


© Bloomreach, Inc. All rights reserved.