Telemetry Destinations
Create a Telemetry Destination
BetaTelemetryDestination beta().organization().telemetryDestinations().create(params, requestOptions = RequestOptions.none())Register an OpenTelemetry destination for the organization.
List Telemetry Destinations
TelemetryDestinationListPage beta().organization().telemetryDestinations().list(params = TelemetryDestinationListParams.none(), requestOptions = RequestOptions.none())List the organization's destinations, newest first, optionally only those that cover given workspaces.
Retrieve a Telemetry Destination
BetaTelemetryDestination beta().organization().telemetryDestinations().retrieve(params = TelemetryDestinationRetrieveParams.none(), requestOptions = RequestOptions.none())Read a destination's configuration, state, and most recent delivery results.
Update a Telemetry Destination
BetaTelemetryDestination beta().organization().telemetryDestinations().update(params = TelemetryDestinationUpdateParams.none(), requestOptions = RequestOptions.none())Change a telemetry destination's settings, its state, or which workspaces it covers.
Delete a Telemetry Destination
BetaDeletedTelemetryDestination beta().organization().telemetryDestinations().delete(params = TelemetryDestinationDeleteParams.none(), requestOptions = RequestOptions.none())Delete a destination and its workspace list.
Test a Telemetry Destination
BetaTelemetryDestinationTestResponse beta().organization().telemetryDestinations().test(params = TelemetryDestinationTestParams.none(), requestOptions = RequestOptions.none())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.
Models
Telemetry DestinationsWorkspaces
List Telemetry Destination Workspaces
WorkspaceListPage beta().organization().telemetryDestinations().workspaces().list(params = WorkspaceListParams.none(), requestOptions = RequestOptions.none())List the workspaces on a destination's workspace list, newest entry first.
Add a Telemetry Destination Workspace
BetaTelemetryDestinationWorkspace beta().organization().telemetryDestinations().workspaces().add(params, requestOptions = RequestOptions.none())Add one workspace to a destination's workspace list.
Remove a Telemetry Destination Workspace
BetaDeletedTelemetryDestinationWorkspace beta().organization().telemetryDestinations().workspaces().remove(params, requestOptions = RequestOptions.none())Remove one workspace from a destination's workspace list.