Skip to content

Workspace

Bases: DuploResource

Manage AI HelpDesk workspaces in DuploCloud.

A workspace groups AI HelpDesk tickets and agents. Tickets are keyed on a workspace's 24-character Mongo ObjectId, which this resource resolves from the human-readable name shown in the portal.

Commands

find

Find an AI HelpDesk workspace by name or id.

With --id the workspace is fetched directly. Otherwise it is matched by name (case-insensitive) from the workspaces list.

CLI Usage
duploctl workspace find <name>
duploctl workspace find --id <id>

Returns:

Name Type Description
resource dict

The matching workspace object.

Raises:

Type Description
DuploError

If neither name nor id is given.

DuploNotFound

If no workspace matches the name or id.

Parameters:

name positional
The resource name
str
--id, --id
The resource id. When provided, the resource is fetched directly by id and the name lookup is skipped.
str
--api_version, --api-version
API Version
str default: v1

list

Retrieve a list of AI HelpDesk workspaces.

CLI Usage
duploctl workspace list

Returns:

Name Type Description
list list

A list of workspace objects.

Parameters:

--api_version, --api-version
API Version
str default: v1