---
title: Test a Telemetry Destination
url: https://platform.claude.com/docs/en/api/cli/beta/organization/telemetry_destinations/test
---

# Test a Telemetry Destination

`$ ant beta:organization:telemetry-destinations test`

**POST** `/v1/organizations/telemetry_destinations/{destination_id}/test`

Send one test span, named `anthropic.test`, to the destination with its registered headers, once and without retries, and report the destination's answer. The response is 200 whether or not the destination answered with a 2xx status: its `result` has the type `success`, or the type `failure` and the reason in `error`. The destination's configuration, `state` and `delivery_health` do not change. A disabled destination can be tested too. Wait 10 seconds between tests of one destination; a request that comes sooner may be answered with status 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`

  The result of one test span sent to a destination.

  - `type: "telemetry_destination_test"`

  - `result: BetaTelemetryDestinationTestSuccess or BetaTelemetryDestinationTestFailure`

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

    - `beta_telemetry_destination_test_success: object`

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

      - `type: "success"`

    - `beta_telemetry_destination_test_failure: object`

      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.

## Example

```bash
ant beta:organization:telemetry-destinations test \
  --api-key my-anthropic-api-key \
  --destination-id destination_id
```

### Response (200)

```json
{
  "result": {
    "type": "success"
  },
  "type": "telemetry_destination_test"
}
```
