Claude Platform Docs

Espaços de trabalho

Listar workspaces de destino de telemetria
beta.organization.telemetry_destinations.workspaces.list(destination_id, **kwargs) -> PageCursor<BetaTelemetryDestinationWorkspace>
GET/v1/organizations/telemetry_destinations/{destination_id}/workspaces

Lista os workspaces na lista de workspaces de um destino, com a entrada mais recente primeiro.

Adicionar um workspace de destino de telemetria
beta.organization.telemetry_destinations.workspaces.add(workspace_id, **kwargs) -> BetaTelemetryDestinationWorkspace
POST/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}

Adiciona um workspace à lista de workspaces de um destino.

Remover um workspace de destino de telemetria
beta.organization.telemetry_destinations.workspaces.remove(workspace_id, **kwargs) -> BetaDeletedTelemetryDestinationWorkspace
DELETE/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}

Remove um workspace da lista de workspaces de um destino.

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_...).