Elenca i workspace della destinazione di telemetria
GET/v1/organizations/telemetry_destinations/{destination_id}/workspaces
Elenca i workspace presenti nell'elenco dei workspace di una destinazione, a partire dalla voce più recente.
Una destinazione il cui workspaces.type è all non ha un elenco, quindi la sua pagina è vuota. L'elenco include i workspace archiviati.
Consulta la guida all'esportazione OpenTelemetry per saperne di più sulla scelta dei workspace di una destinazione.
Parameters
Returns
Elenca i workspace della destinazione di telemetria
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"
}