Claude Platform Docs

Рабочие пространства

Список рабочих пространств назначения телеметрии
WorkspaceListPage beta().organization().telemetryDestinations().workspaces().list(params = WorkspaceListParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/telemetry_destinations/{destination_id}/workspaces

Получить рабочие пространства из списка рабочих пространств назначения, начиная с самой новой записи.

Добавление рабочего пространства назначения телеметрии
BetaTelemetryDestinationWorkspace beta().organization().telemetryDestinations().workspaces().add(params, requestOptions = RequestOptions.none())
POST/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}

Добавить одно рабочее пространство в список рабочих пространств назначения.

Удаление рабочего пространства назначения телеметрии
BetaDeletedTelemetryDestinationWorkspace beta().organization().telemetryDestinations().workspaces().remove(params, requestOptions = RequestOptions.none())
DELETE/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}

Удалить одно рабочее пространство из списка рабочих пространств назначения.

Models
class BetaDeletedTelemetryDestinationWorkspace { type = "telemetry_destination_workspace_deleted"; telemetryDestinationId; workspaceId; }

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

JsonValue type = "telemetry_destination_workspace_deleted"
String telemetryDestinationId

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

String workspaceId

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

class BetaTelemetryDestinationWorkspace { type = "telemetry_destination_workspace"; createdAt; telemetryDestinationId; workspaceId; }

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.

JsonValue type = "telemetry_destination_workspace"
LocalDateTime createdAt

Time the workspace was added to the list.

formatdate-time
String telemetryDestinationId

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

String workspaceId

ID of the workspace (wrkspc_...).