Docs

Docs

x-cpod-domain: workspaces

Workspaces

Platform workspaces — personal and shared containers for files, folders, and compute pods.

Try in explorer client.workspaces

Workspace

A personal or shared container for files, folders, and pods.

REST path/api/v1/workspaces
Operations
listgetcreateupdatedeletecreateFolderlistFoldersrenameFolderdeleteFolderensureHomelistFilesgetFiledownloadUrldeleteFilelistTrashrestoreTrash
SDK
// list — returns only your records; add filters/search:
await client.workspaces.list()

// create:
await client.workspaces.create({
  id: "rec_01HXEXAMPLE",
  name: "example name",
  created_at: "2026-01-01T00:00:00Z",
  updated_at: "2026-01-01T00:00:00Z",
  description: "example description",
  visibility: "personal",
})
FieldTypeDescription
id*uuidWorkspace UUID.
name*stringWorkspace display name.
descriptionstringOptional workspace description.
visibilityenumWorkspace visibility.personalsharedpublic
owner_iduuidUserProfileOwning user.
organization_iduuidOrganizationOwning organization.
created_at*date-timeCreation timestamp.
updated_at*date-timeLast update timestamp.

Folder

A named folder within a workspace for organizing files.

REST path/api/v1/workspaces/folders
Operations
createFolderlistFoldersrenameFolderdeleteFolderensureHome
SDK
// list — returns only your records; add filters/search:
await client.workspaces.list()
FieldTypeDescription
id*uuidFolder UUID.
workspace_id*uuidWorkspaceOwning workspace.
parent_iduuidParent folder ID (null for root).
name*stringFolder name.
created_at*date-timeCreation timestamp.

WorkspaceFile

A file stored within a workspace folder.

REST path/api/v1/workspaces/files
Operations
listFilesgetFiledownloadUrldeleteFile
SDK
// list — returns only your records; add filters/search:
await client.workspaces.list()
FieldTypeDescription
id*uuidFile UUID.
workspace_id*uuidWorkspaceOwning workspace.
folder_iduuidFolderContaining folder.
name*stringFile name with extension.
sizeintegerFile size in bytes.
content_typestringMIME type.
created_at*date-timeUpload timestamp.