텔레메트리 대상 워크스페이스 목록 조회
GET/v1/organizations/telemetry_destinations/{destination_id}/workspaces
대상의 워크스페이스 목록에 있는 워크스페이스를 최신 항목부터 조회합니다.
workspaces.type이 all인 대상에는 목록이 없으므로 페이지가 비어 있습니다. 목록에는 보관된 워크스페이스도 포함됩니다.
대상의 워크스페이스 선택에 대한 자세한 내용은 OpenTelemetry 내보내기 가이드를 참조하세요.
Parameters
Returns
텔레메트리 대상 워크스페이스 목록 조회
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
page = anthropic.beta.organization.telemetry_destinations.workspaces.list("destination_id")
puts(page)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"
}