テレメトリ送信先ワークスペースを一覧表示
GET/v1/organizations/telemetry_destinations/{destination_id}/workspaces
Requires
anthropic-beta: telemetry-destinations-2026-08-11. Learn how to send beta headers.送信先のワークスペースリストにあるワークスペースを、新しいエントリから順に一覧表示します。
workspaces.type が all の送信先にはリストがないため、そのページは空になります。リストにはアーカイブ済みのワークスペースも含まれます。
送信先のワークスペースの選択について詳しくは、OpenTelemetry エクスポートガイドを参照してください。
Parameters
Returns
テレメトリ送信先ワークスペースを一覧表示
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get(
"ANTHROPIC_API_KEY"
), # This is the default and can be omitted
)
page = client.beta.organization.telemetry_destinations.workspaces.list(
destination_id="destination_id",
)
page = page.data[0]
print(page.telemetry_destination_id)Response 200
{
"data": [
{
"created_at": "2019-12-27T18:11:19.117Z",
"telemetry_destination_id": "telemetry_destination_id",
"type": "telemetry_destination_workspace",
"workspace_id": "workspace_id"
}
],
"next_page": "next_page"
}Returns Examples
Response 200
{
"data": [
{
"created_at": "2019-12-27T18:11:19.117Z",
"telemetry_destination_id": "telemetry_destination_id",
"type": "telemetry_destination_workspace",
"workspace_id": "workspace_id"
}
],
"next_page": "next_page"
}