Skip to main content

Async audit client

For FastAPI, asyncio agents, and other async runtimes:

Differences from sync client

Telemetry methods are also available on AsyncClient.telemetry.

Async Telemetry

When using AsyncClient, telemetry execution and span context managers use awaited asynchronous I/O. The core API commits ingestion synchronously; SDK buffering is a separate client behavior:

FastAPI lifespan pattern

See the FastAPI integration for middleware setup.