List Telemetry Destination Workspaces
GET/v1/organizations/telemetry_destinations/{destination_id}/workspaces
Requires
anthropic-beta: telemetry-destinations-2026-08-11. How to send beta headersList the workspaces on a destination's workspace list, newest entry first.
A destination whose workspaces.type is all doesn't have a list, so its page is empty. The list includes archived workspaces.
See the OpenTelemetry export guide to learn more about choosing the workspaces of a destination.
Parameters
Returns
List Telemetry Destination Workspaces
<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Anthropic\Client;
use Anthropic\Beta\AnthropicBeta;
$client = new Client(apiKey: 'my-anthropic-api-key');
$page = $client->beta->organization->telemetryDestinations->workspaces->list(
'destination_id',
limit: 0,
page: 'page',
betas: [AnthropicBeta::MESSAGE_BATCHES_2024_09_24],
);
var_dump($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"
}