Claude Platform Docs

텔레메트리 대상 테스트

$ ant beta:organization:telemetry-destinations test
POST/v1/organizations/telemetry_destinations/{destination_id}/test

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

Parameters
--destination-id: string⁠Path parameter

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

--beta: optional array of AnthropicBeta⁠Header parameter

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

Returns
beta_telemetry_destination_test_response: object{ type: "telemetry_destination_test", result }

The result of one test span sent to a destination.

type: "telemetry_destination_test"

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

One of the following:
beta_telemetry_destination_test_success: object{ type: "success" }

The destination answered the test span with a 2xx status.

type: "success"
beta_telemetry_destination_test_failure: object{ type: "failure", error }

The test span was not delivered.

type: "failure"
error: string

A message that describes why the test span was not delivered, including the HTTP status code when the destination returned one. Examples: HTTP error (status 403), timeout, TLS failure. It has the same form as the destination's delivery_health.last_error and never contains the destination's response body, any header value, a network address, or TLS details.

텔레메트리 대상 테스트
ant beta:organization:telemetry-destinations test \
  --api-key my-anthropic-api-key \
  --destination-id destination_id
Returns Examples
Response 200
{
  "result": {
    "type": "success"
  },
  "type": "telemetry_destination_test"
}