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.
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
--id, --id
The resource id. When provided, the resource is fetched directly by id and the name lookup is skipped.
--api_version, --api-version
API Version
list
Retrieve a list of AI HelpDesk workspaces.
Returns:
| Name | Type | Description |
|---|---|---|
list |
list
|
A list of workspace objects. |
Parameters:
--api_version, --api-version
API Version