Claude Platform Docs

工作區

列出遙測目的地工作區
beta.organization.telemetry_destinations.workspaces.list(destination_id, **kwargs) -> PageCursor<BetaTelemetryDestinationWorkspace>
GET/v1/organizations/telemetry_destinations/{destination_id}/workspaces

列出目的地工作區清單中的工作區,最新的項目排在最前面。

新增遙測目的地工作區
beta.organization.telemetry_destinations.workspaces.add(workspace_id, **kwargs) -> BetaTelemetryDestinationWorkspace
POST/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}

將一個工作區新增至目的地的工作區清單。

移除遙測目的地工作區
beta.organization.telemetry_destinations.workspaces.remove(workspace_id, **kwargs) -> BetaDeletedTelemetryDestinationWorkspace
DELETE/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}

從目的地的工作區清單中移除一個工作區。

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