遙測目的地
建立遙測目的地
BetaTelemetryDestination beta().organization().telemetryDestinations().create(params, requestOptions = RequestOptions.none())POST/v1/organizations/telemetry_destinations
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.為組織註冊 OpenTelemetry 目的地。
列出遙測目的地
TelemetryDestinationListPage beta().organization().telemetryDestinations().list(params = TelemetryDestinationListParams.none(), requestOptions = RequestOptions.none())GET/v1/organizations/telemetry_destinations
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.列出組織的目的地,最新的排在最前面,可選擇僅列出涵蓋指定工作區的目的地。
擷取遙測目的地
BetaTelemetryDestination beta().organization().telemetryDestinations().retrieve(params = TelemetryDestinationRetrieveParams.none(), requestOptions = RequestOptions.none())GET/v1/organizations/telemetry_destinations/{destination_id}
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.讀取目的地的設定、狀態及最近的傳遞結果。
更新遙測目的地
BetaTelemetryDestination beta().organization().telemetryDestinations().update(params = TelemetryDestinationUpdateParams.none(), requestOptions = RequestOptions.none())POST/v1/organizations/telemetry_destinations/{destination_id}
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.變更遙測目的地的設定、狀態或其涵蓋的工作區。
刪除遙測目的地
BetaDeletedTelemetryDestination beta().organization().telemetryDestinations().delete(params = TelemetryDestinationDeleteParams.none(), requestOptions = RequestOptions.none())DELETE/v1/organizations/telemetry_destinations/{destination_id}
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.刪除目的地及其工作區清單。
測試遙測目的地
BetaTelemetryDestinationTestResponse beta().organization().telemetryDestinations().test(params = TelemetryDestinationTestParams.none(), requestOptions = RequestOptions.none())POST/v1/organizations/telemetry_destinations/{destination_id}/test
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.將一個名為 anthropic.test 的測試 span 連同已註冊的標頭傳送至目的地,僅傳送一次且不重試,並回報目的地的回應。無論目的地是否以 2xx 狀態回應,回應皆為 200:其 result 的類型為 success,或類型為 failure 並在 error 中附上原因。目的地的設定、state 與 delivery_health 不會變更。已停用的目的地也可以測試。對同一目的地的兩次測試之間請等待 10 秒;過早送出的請求可能會收到狀態 429。
Models
遙測目的地工作區
列出遙測目的地工作區
WorkspaceListPage beta().organization().telemetryDestinations().workspaces().list(params = WorkspaceListParams.none(), requestOptions = RequestOptions.none())GET/v1/organizations/telemetry_destinations/{destination_id}/workspaces
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.列出目的地工作區清單中的工作區,最新的項目排在最前面。
新增遙測目的地工作區
BetaTelemetryDestinationWorkspace beta().organization().telemetryDestinations().workspaces().add(params, requestOptions = RequestOptions.none())POST/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.將一個工作區新增至目的地的工作區清單。
移除遙測目的地工作區
BetaDeletedTelemetryDestinationWorkspace beta().organization().telemetryDestinations().workspaces().remove(params, requestOptions = RequestOptions.none())DELETE/v1/organizations/telemetry_destinations/{destination_id}/workspaces/{workspace_id}
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.從目的地的工作區清單中移除一個工作區。