In short.
This Claude API tracing guide is for developers and platform teams connecting AI requests to their monitoring tools, but its beta export does not guarantee complete delivery. It documents Messages API and Managed Agents tracing on Claude API and Claude Platform on AWS. API spans can be exported without application changes; connecting them to application traces requires additional tracing configuration. Setup requires administrative authority and a compatible public HTTPS endpoint. Exported data falls under the receiving service’s retention and access controls. Prices, minimum SDK versions and measured performance are unknown, and the integration has not been run.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is the complete selected documentation page at [https://platform.claude.com/docs/en/manage-claude/opentelemetry/api.md], including its feature metadata, setup examples, workspace rules, tracing mechanism, delivery behavior, limits, troubleshooting, availability and data-handling notices. Linked pages are excluded. The specific ZDR exclusions and metadata-only allowances qualify the broader availability statements. No commands, examples, integrations or delivery tests were executed. Actual reliability, performance, compatibility, costs and compliance remain unassessed where the page supplies no evidence.
The overview
identity
Set up OpenTelemetry with the Claude API is Anthropic’s technical guide to exporting traces from Messages API requests and Managed Agents sessions. The selected source is the complete documentation page at [https://platform.claude.com/docs/en/manage-claude/opentelemetry/api.md].
The resource is a setup guide for an API feature. Its central configuration object is a destination: an observability endpoint, authentication details, content settings and workspace coverage that determine where API spans are sent.
assessment
The guide is useful for teams already using Claude who want visibility into model requests and API-executed tool activity in an existing observability system. It provides concrete setup steps, automation examples and operational failure behavior rather than only describing the feature.
Its strongest practical benefit is centrally configured API tracing without changing application code. That benefit has a boundary: application-to-API trace continuity needs SDK tracing or explicit trace-context propagation. Best-effort delivery also means the resulting traces should not be treated as a complete audit record.
The documentation supports an informed configuration decision, but it does not establish actual endpoint compatibility, export reliability, performance overhead or successful deployment.
users
Application developers can use the guide to connect Claude activity to their service’s traces. Platform and operations teams can configure shared destinations, control workspace coverage and investigate delivery failures.
Beginners have a Console-based route, but still need access to an observability endpoint and its credentials. Experienced developers get Admin API, CLI and SDK examples, custom endpoint configuration, sampling behavior and MCP trace-propagation details.
Organization developers can view destinations. Organization admins manage them; a developer who is also a Workspace Admin has narrower permission to add or remove that workspace from a Selected destination. AWS deployments use IAM permissions instead of the Console’s Workspace Admin role.
capabilities
The API can emit spans for model requests and tool uses that it runs during Messages API requests and Managed Agents sessions. Workspace activity is sent to every enabled destination covering that workspace.
Destinations support listed observability providers or a Custom endpoint, authentication headers, Metadata only or Full content modes, and optional content-size limits. An explicit traces URL can override the default endpoint path, provided it uses the same host as the base URL.
Workspace coverage can include All workspaces, Selected workspaces, or All except specified workspaces. All includes the Default Workspace and workspaces created later.
The guide also documents destination testing, delivery health, programmatic management and connecting application, SDK, API and MCP server spans. Complete span schemas and the exact fields included in each content mode are not supplied on this page.
Using it
requirements
Console setup requires an organization admin. The receiving endpoint must accept OTLP/HTTP with protobuf encoding at an HTTPS URL on port 443. Its URL must use a hostname rather than an IP address, and the hostname must resolve to a public IP address. Endpoint authentication credentials are also needed.
A self-hosted OpenTelemetry Collector commonly receives OTLP/HTTP on port 4318. The guide requires configuring HTTPS on port 443 or placing a suitable reverse proxy or load balancer in front of it.
Programmatic management requires an Admin API credential or an administrator CLI login. On Claude Platform on AWS, requests use the regional AWS endpoint and AWS signing; IAM controls management access, and destination requests can cover only workspaces in that AWS account and Region.
Application trace continuity requires W3C trace context. Applications using another propagation format, such as B3, must also add W3C propagation. Minimum SDK and OpenTelemetry package versions are not stated.
mechanism
A span represents an individual operation within a trace. The API exports spans to configured destinations independently of application-side instrumentation. By default, a Messages API request or Managed Agents session has its own trace.
To join those spans to an application trace, the API reads the request’s W3C traceparent header. With SDK tracing configured, an application span can contain an SDK span, which contains the API span. The spans must reach the same observability platform to be displayed together. A traceparent header with its sampled flag off suppresses the API request span and its descendants.
MCP connectors can pass trace context to a connected server. For tools/call, params._meta carries a traceparent referring to the anthropic.mcp_tool_use span. The Messages API connector also supplies context for other MCP requests and notifications, referring to anthropic.messages.create. The server can use that context to attach its own spans.
Exports normally use gzip compression. If a compressed request receives status 400, 406, 415 or 422, the API immediately resends those spans without compression and usually avoids compression for that destination for about a day.
setup
In the Console’s OpenTelemetry settings at [https://platform.claude.com/settings/telemetry-destinations], add a destination, choose a provider or Custom, supply endpoint credentials, select a content mode and define workspace coverage. For a custom base endpoint, omit /v1/traces because the API appends it. Use the advanced traces URL setting when the receiver needs another path.
Credentials belong in request-header values, which the Console does not display again after saving. Full-content destinations can specify a maximum content size; leaving it empty sends as much as the API allows, but that API maximum is not quantified on this page.
The documented verification procedure is to use Test, find the anthropic.test span in the receiving platform, then generate an actual request or session in a covered workspace. Check the Delivery column and search the backend for service.name equal to claude-platform. Health updates can take about a minute. These are instructions, not established test results.
The page also gives cURL, CLI, Python, TypeScript, C#, Go, Java, PHP and Ruby creation examples. Its Admin API example posts to [https://api.anthropic.com/v1/organizations/telemetry_destinations] using anthropic-version: 2026-10-21 and anthropic-beta: telemetry-destinations-2026-08-11. API content limits use traces.max_content_bytes in bytes, whereas the Console field is expressed in MB.
example
For an issue-summary feature built with Managed Agents, a team could configure a metadata-only destination covering its development workspace, then send session events inside an application span named summarize_issues. The page’s example sends the message Summarize the open issues.
With SDK tracing configured, W3C propagation enabled and all spans exported to the same backend, the documented relationship is application span, SDK span and API span. A connected MCP server can attach its own activity using the propagated context.
This is an illustrative use of the documented configuration. No example was executed, and no successful trace, latency measurement or performance improvement is established.
Assessment & evidence
limitations
Tracing is beta on Claude API and Claude Platform on AWS. The API emits no spans for requests to its OpenAI-compatible endpoint or requests whose traceparent sampled flag is off.
Delivery permits duplicates and loss. Receivers can deduplicate using trace ID and span ID, but a span lost before delivery cannot be resent. The API performs only a limited number of retries after transport failures, invalid addresses, timeouts or HTTP 408, 429 and 5xx responses; other failures generally are not retried.
The receiving endpoint must complete the TLS handshake within five seconds and send response headers within five seconds. Total delivery time is limited to ten seconds, including any resend. A redirect disables the destination, as does 24 hours of entirely failed deliveries.
Spans for a disabled destination are dropped and are not recovered after re-enabling it. Delivery status can lag by a minute. Healthy means the last delivery succeeded, rather than proving complete trace coverage.
Limits include ten destinations per organization, including disabled destinations; 1,000 selected workspaces per destination; and 20 request headers. Header names are limited to 128 bytes, values to 4,096 bytes, and all names and values together to 16,384 bytes. Endpoint URLs are limited to 2,048 characters.
The page does not quantify sustained export throughput, normal delivery latency, performance overhead, retry counts, the overall content ceiling or minimum compatible SDK versions.
reasoning
Central destination configuration makes this approach attractive when teams want API-side visibility without adding tracing code to every caller. That conclusion follows from the documented export mechanism; it is not a measured reduction in implementation effort.
For end-to-end diagnosis, the decisive dependency is trace-context continuity. Export alone leaves API activity in separate traces. SDK instrumentation or explicit W3C propagation is needed to connect it to application activity, and MCP servers must use the supplied context for their own spans.
The documented loss, duplication and delayed health reporting favor using this feature for operational investigation with appropriate monitoring. They do not support relying on it as the sole record of every request or tool action.
alternatives
The adjacent approach described is SDK tracing, which supplies client-side spans and connects application spans to API spans. It is complementary to API export. The linked SDK guide is outside the selected page, so its detailed setup and compatibility requirements are unknown here.
For receiving traces, the page offers a listed observability provider, a Custom OTLP endpoint or a self-hosted OpenTelemetry Collector exposed through suitable HTTPS infrastructure. It supplies no comparative evidence about provider pricing, usability or reliability.
Console, Admin API, CLI and SDK configuration are alternative management routes for the same destination feature. The page does not provide enough evidence to compare this feature with other tracing products.
evidence
The factual source is Anthropic’s first-party documentation, Set up OpenTelemetry with the Claude API, at [https://platform.claude.com/docs/en/manage-claude/opentelemetry/api.md]. It includes feature metadata, configuration procedures, code examples, delivery behavior, limits and data-handling notices.
These are provider descriptions rather than independent measurements. No code, destination configuration or delivery test was run. Actual connectivity, successful export, backend rendering, package compatibility and operational performance remain unassessed.
Linked material on SDK tracing, content modes, span schemas, model-specific retention and other APIs is outside the selected scope. Details available only through those links are not established.
Access & freshness
costs
The page states no price for telemetry export, no required paid plan and no included usage allowance. Costs for Claude usage, observability ingestion and storage, or operating a Collector are unknown from this evidence.
Full-content export and sending the same workspace’s activity to multiple destinations affect the amount of data delivered. Their financial impact depends on terms and prices that are not supplied; no cost estimate or savings claim is supported.
rights
The supplied page states no redistribution licence for the documentation or its code examples. Permission to redistribute those materials is therefore unknown from this source.
Adding a destination sends traces of organization activity to the specified endpoint under the receiving provider’s terms and access controls. After delivery, the chosen service holds the data outside Anthropic under that service’s retention and access controls.
Zero data retention eligibility follows the feature producing each span. The page explicitly says Managed Agents is not ZDR eligible and identifies Covered Models as an exclusion. Its broad availability wording should therefore be read with those specific qualifications.
The data-handling table marks HIPAA eligibility as Not eligible while allowing HIPAA organizations to export metadata. The page also warns that HIPAA, FERPA or K-12 restrictions may prevent prompts and responses appearing even in Full content mode. Complete compliance requirements are not established here.
freshness
The supplied documentation capture is dated 15 November 2026. No publication date or last-updated date is stated in the page. Both supported platforms are explicitly labelled beta.
The examples specify API version 2026-10-21, telemetry-destinations beta header 2026-08-11 and Managed Agents beta header 2026-04-01 where applicable. These identifiers do not establish the document’s publication date or minimum SDK versions.
Availability, limits, interface behavior and compatibility after the capture date are unknown. Beta status makes confirming the current API contract particularly relevant before implementation.
actions
Before adopting the feature, confirm administrative access and that the receiver supports publicly reachable HTTPS on port 443, OTLP/HTTP protobuf, the correct authentication headers and a non-redirecting traces path. Establish provider pricing and retention terms separately.
Choose workspace coverage deliberately, including whether future workspaces should be included. Choose Metadata only or Full content after establishing what the destination may receive and retain; exact content-mode fields require the linked documentation.
Follow the documented test-span procedure, then generate a real request in a covered workspace and inspect both Console health and the receiving platform. For end-to-end traces, configure W3C propagation, check sampling and send application, SDK and API spans to the same backend.
Plan for duplicate spans, delivery failures and permanent gaps. After a destination is disabled, correct the cause, use Test and explicitly Enable it; do not expect dropped history to return.
