Claude Platform Docs

Probar un destino de telemetría

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

Envía un span de prueba, llamado anthropic.test, al destino con sus encabezados registrados, una sola vez y sin reintentos, e informa la respuesta del destino. La respuesta es 200 tanto si el destino respondió con un estado 2xx como si no: su result tiene el tipo success, o el tipo failure y el motivo en error. La configuración, el state y el delivery_health del destino no cambian. También se puede probar un destino deshabilitado. Espera 10 segundos entre pruebas de un mismo destino; una solicitud que llegue antes puede recibir una respuesta con el estado 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.

Probar un destino de telemetría
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"
}