Claude Platform Docs

텔레메트리 대상 테스트

$client->beta->organization->telemetryDestinations->test(string destinationID, ?list<AnthropicBeta> betas): TelemetryDestinationTestResponse
POST/v1/organizations/telemetry_destinations/{destination_id}/test
Requires anthropic-beta: telemetry-destinations-2026-08-11. How to send beta headers

anthropic.test라는 이름의 테스트 스팬 하나를 등록된 헤더와 함께 대상으로 재시도 없이 한 번 보내고 대상의 응답을 보고합니다. 대상이 2xx 상태로 응답했는지 여부와 관계없이 응답은 200입니다. result의 유형은 success이거나, 유형이 failure이고 error에 이유가 포함됩니다. 대상의 구성, state 및 delivery_health는 변경되지 않습니다. 비활성화된 대상도 테스트할 수 있습니다. 한 대상에 대한 테스트 사이에는 10초를 기다리세요. 그보다 빨리 들어온 요청은 상태 429로 응답될 수 있습니다.

Parameters
destinationID: string⁠Path parameter

ID of the destination to test (starts with tdst_).

betas?: optional list<AnthropicBeta>⁠Header parameter

This endpoint is in beta: requests must send telemetry-destinations-2026-08-11 in this header.

Returns
class TelemetryDestinationTestResponse { $type = 'telemetry_destination_test'; $result; }
"telemetry_destination_test" type

How the test went: success when the destination answered with a 2xx status, else failure with the reason.

텔레메트리 대상 테스트
<?php

require_once dirname(__DIR__) . '/vendor/autoload.php';

use Anthropic\Client;
use Anthropic\Beta\AnthropicBeta;

$client = new Client(apiKey: 'my-anthropic-api-key');

$betaTelemetryDestinationTestResponse = $client
  ->beta
  ->organization
  ->telemetryDestinations
  ->test('destination_id', betas: [AnthropicBeta::MESSAGE_BATCHES_2024_09_24]);

var_dump($betaTelemetryDestinationTestResponse);
Returns Examples
Response 200
{
  "result": {
    "type": "success"
  },
  "type": "telemetry_destination_test"
}