Skip to main content
Proxy is a hosted proxy service that automatically captures telemetry, traces, and spans from your AI applications. Instead of calling AI provider APIs directly, your applications route requests through Adaline’s cloud infrastructure by simply modifying the baseUrl in your AI SDKs and adding required headers. This enables automatic observability without manual instrumentation. Proxy is based on the open source Adaline Gateway project. Proxy flow diagram

The flow

  1. SDK Configuration — Update your AI SDK’s baseUrl to point to Proxy
  2. Header Addition — Add required Adaline headers for authentication, project and prompt identification
  3. Transparent Proxying — Proxy forwards your requests to the actual AI provider
  4. Automatic Telemetry — Responses are captured and logged as traces and spans in your Adaline project and prompt
  5. Original Response — Your application receives the exact same response it would from the provider

Benefits

  • Minimal Code Changes — Works with existing AI SDK implementations by adding a couple of lines of code
  • Automatic Observability — Captures traces and spans without manual logging
  • Real-time Monitoring — Immediate visibility into AI application performance, including token usage and costs
  • Continuous Evaluations — Setup one-click continuous AI evaluations for your AI applications
  • Provider Agnostic — Supports all major AI providers
  • Production Ready — Built for scale with high availability and security
  • No Extra Costs — Proxy requests are billed as regular API Log requests to Adaline

Quick start

Supported providers

Required headers

Optional trace headers

Optional span headers

For the full header specification with validation rules and detailed examples, see the Proxy Headers Reference.

Group requests into a single trace

Use the same adaline-trace-reference-id across multiple requests to group them under one trace:

What gets captured automatically

When you route through the Proxy, Adaline automatically captures:
  • Request and response payloads
  • Token usage (input and output) and cost
  • Latency
  • Model and provider information
  • Errors and status codes

Next steps

Proxy Headers Reference

Complete reference for all required and optional Proxy headers.

Advanced Usage

Session tracking, multi-step traces, and error patterns.

Setup Continuous Evaluations

Run automated quality checks on live production data.

Log Attachments

Attach custom attributes, tags, and variables.

Integrations

Browse all supported AI providers and frameworks.

Adaline Gateway (Open Source)

The open source project that powers Proxy.