Claude Platform Docs

Espaces de travail

Lister les espaces de travail d'une destination de télémétrie
beta.organization.telemetry_destinations.workspaces.list(destination_id, **kwargs) -> PageCursor<BetaTelemetryDestinationWorkspace>
GET/v1/organizations/telemetry_destinations/{destination_id}/workspaces

Lister les espaces de travail figurant dans la liste d'espaces de travail d'une destination, de l'entrée la plus récente à la plus ancienne.

Ajouter un espace de travail à une destination de télémétrie
beta.organization.telemetry_destinations.workspaces.add(workspace_id, **kwargs) -> BetaTelemetryDestinationWorkspace
POST/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}

Ajouter un espace de travail à la liste d'espaces de travail d'une destination.

Retirer un espace de travail d'une destination de télémétrie
beta.organization.telemetry_destinations.workspaces.remove(workspace_id, **kwargs) -> BetaDeletedTelemetryDestinationWorkspace
DELETE/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}

Retirer un espace de travail de la liste d'espaces de travail d'une destination.

Models
class BetaDeletedTelemetryDestinationWorkspace { type: :telemetry_destination_workspace_deleted, telemetry_destination_id, workspace_id }

Confirmation that a workspace was removed from a destination's list.

type: :telemetry_destination_workspace_deleted
telemetry_destination_id: String

ID of the telemetry destination (tdst_...).

workspace_id: String

ID of the workspace that was removed (wrkspc_...).

class BetaTelemetryDestinationWorkspace { type: :telemetry_destination_workspace, created_at, telemetry_destination_id, workspace_id }

A workspace on a telemetry destination's workspace list.

Under include, the destination covers the workspace. Under exclude, the destination covers every workspace except this one. The entry doesn't have an id. Its telemetry_destination_id and workspace_id together identify it.

type: :telemetry_destination_workspace
created_at: Time

Time the workspace was added to the list.

formatdate-time
telemetry_destination_id: String

ID of the telemetry destination (tdst_...).

workspace_id: String

ID of the workspace (wrkspc_...).