Claude Platform Docs

Workspaces

Workspaces eines Telemetrieziels auflisten
client.Beta.Organization.TelemetryDestinations.Workspaces.List(ctx, destinationID, params) (*PageCursor[BetaTelemetryDestinationWorkspace], error)
GET/v1/organizations/telemetry_destinations/{destination_id}/workspaces

Listet die Workspaces auf der Workspace-Liste eines Ziels auf, den neuesten Eintrag zuerst.

Workspace zu einem Telemetrieziel hinzufügen
client.Beta.Organization.TelemetryDestinations.Workspaces.Add(ctx, workspaceID, params) (*BetaTelemetryDestinationWorkspace, error)
POST/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}

Fügt der Workspace-Liste eines Ziels einen Workspace hinzu.

Workspace aus einem Telemetrieziel entfernen
client.Beta.Organization.TelemetryDestinations.Workspaces.Remove(ctx, workspaceID, params) (*BetaDeletedTelemetryDestinationWorkspace, error)
DELETE/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}

Entfernt einen Workspace aus der Workspace-Liste eines Ziels.

Models
type BetaDeletedTelemetryDestinationWorkspace struct { Type: "telemetry_destination_workspace_deleted"; TelemetryDestinationID; WorkspaceID }

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

Type TelemetryDestinationWorkspaceDeleted
TelemetryDestinationID string

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

WorkspaceID string

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

type BetaTelemetryDestinationWorkspace struct { 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.

Type TelemetryDestinationWorkspace
CreatedAt Time

Time the workspace was added to the list.

formatdate-time
TelemetryDestinationID string

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

WorkspaceID string

ID of the workspace (wrkspc_...).