テレメトリ送信先
テレメトリ送信先を作成
client.Beta.Organization.TelemetryDestinations.New(ctx, params) (*BetaTelemetryDestination, error)POST/v1/organizations/telemetry_destinations
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.組織の OpenTelemetry 送信先を登録します。
テレメトリ送信先を一覧表示
client.Beta.Organization.TelemetryDestinations.List(ctx, params) (*PageCursor[BetaTelemetryDestination], error)GET/v1/organizations/telemetry_destinations
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.組織の送信先を新しい順に一覧表示します。必要に応じて、指定したワークスペースを対象とするものだけに絞り込めます。
テレメトリ送信先を取得
client.Beta.Organization.TelemetryDestinations.Get(ctx, destinationID, query) (*BetaTelemetryDestination, error)GET/v1/organizations/telemetry_destinations/{destination_id}
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.送信先の設定、状態、および最新の配信結果を読み取ります。
テレメトリ送信先を更新
client.Beta.Organization.TelemetryDestinations.Update(ctx, destinationID, params) (*BetaTelemetryDestination, error)POST/v1/organizations/telemetry_destinations/{destination_id}
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.テレメトリ送信先の設定、状態、または対象とするワークスペースを変更します。
テレメトリ送信先を削除
client.Beta.Organization.TelemetryDestinations.Delete(ctx, destinationID, body) (*BetaDeletedTelemetryDestination, error)DELETE/v1/organizations/telemetry_destinations/{destination_id}
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.送信先とそのワークスペースリストを削除します。
テレメトリ送信先をテスト
client.Beta.Organization.TelemetryDestinations.Test(ctx, destinationID, body) (*BetaTelemetryDestinationTestResponse, error)POST/v1/organizations/telemetry_destinations/{destination_id}/test
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.anthropic.test という名前のテストスパンを1つ、登録済みのヘッダーとともに送信先へ再試行なしで1回送信し、送信先の応答を報告します。送信先が 2xx ステータスで応答したかどうかにかかわらず、レスポンスは 200 です。その result のタイプは success、または failure で、後者の場合は理由が error に含まれます。送信先の設定、state、delivery_health は変更されません。無効な送信先もテストできます。1つの送信先のテストの間隔は10秒空けてください。それより早いリクエストにはステータス 429 が返される場合があります。
Models
テレメトリ送信先ワークスペース
テレメトリ送信先ワークスペースを一覧表示
client.Beta.Organization.TelemetryDestinations.Workspaces.List(ctx, destinationID, params) (*PageCursor[BetaTelemetryDestinationWorkspace], error)GET/v1/organizations/telemetry_destinations/{destination_id}/workspaces
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.送信先のワークスペースリストにあるワークスペースを、新しいエントリから順に一覧表示します。
テレメトリ送信先ワークスペースを追加
client.Beta.Organization.TelemetryDestinations.Workspaces.Add(ctx, workspaceID, params) (*BetaTelemetryDestinationWorkspace, error)POST/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.送信先のワークスペースリストにワークスペースを1つ追加します。
テレメトリ送信先ワークスペースを削除
client.Beta.Organization.TelemetryDestinations.Workspaces.Remove(ctx, workspaceID, params) (*BetaDeletedTelemetryDestinationWorkspace, error)DELETE/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.送信先のワークスペースリストからワークスペースを1つ削除します。