The Atla Insights API provides programmatic access to Atla’s platform for monitoring and improving AI agents. You can contact us here to get your API key, if you have not done so already. You can interact with the API through HTTP requests from any programming language or through our Python SDK.

Installation

Install the Python SDK:
pip install atla-insights
For additional integrations, you can install package-specific dependencies:
pip install "atla-insights[litellm]"

Authentication

All API requests must include an API key for authorization. You can get an API key from your Insights dashboard. When using the Python SDK, you can set your API key either in the client constructor or as the ATLA_API_KEY environment variable. The SDK will then handle authorization automatically. For HTTP requests, include an Authorization header as follows:
Authorization: Bearer $ATLA_API_KEY

Content types

The Atla API accepts and returns JSON in request and response bodies. Include the following header in your API requests:
Content-Type: application/json
As with authorization, the Python SDK handles content type headers automatically.