> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getbluejay.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Anthropic

> Trace Anthropic SDK calls.

`BluejayClient(tracing=True)` traces the Anthropic SDK. No extra package. Messages `create` and `stream` are covered.

```python Python icon="https://mintcdn.com/bluejay/73RDPPJpgHtl6PiO/logo/python.svg?fit=max&auto=format&n=73RDPPJpgHtl6PiO&q=85&s=ce56f186813559443f877804e7aef209" theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from bluejay import BluejayClient

client = BluejayClient(tracing=True)

reply = anthropic_client.messages.create(model="claude-sonnet-4-5", max_tokens=1024, messages=messages)
```

```typescript TypeScript icon="https://mintcdn.com/bluejay/73RDPPJpgHtl6PiO/logo/typescript.svg?fit=max&auto=format&n=73RDPPJpgHtl6PiO&q=85&s=d4b45d3e44d76cf40cfb09b3d24831f5" theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
// In Node.js, use an OpenTelemetry instrumentor or a manual model span.
```

When the call runs inside a [session](https://docs.getbluejay.ai/sdk/observability.md#trace-chat-or-sms), the span joins that call.

## Related

* [SDK](https://docs.getbluejay.ai/sdk/overview.md)
* [Traces](https://docs.getbluejay.ai/monitor/traces.md)

For Node.js, see [manual model spans](https://docs.getbluejay.ai/sdk/observability.md#add-model-and-tool-details).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.