Skip to main content
The Adaline REST API gives you direct HTTP access to the entire platform. Use it when you need to send telemetry from any language, integrate with CI/CD pipelines, build custom tooling, or work from environments where the SDK isn’t available.

What the API covers

The API spans 30+ endpoints across 9 resource types. Logging traces and spans is the most common starting point, but the same API key unlocks the full platform.

Base URL

A staging environment is also available at https://api.staging.adaline.ai/v2.

Authentication

All requests require a Bearer token in the Authorization header.
Get your API key from the Adaline Dashboard under workspace settings. See the Authentication reference for full details. If the key is missing or invalid, the API returns 401 Unauthorized:

Rate limits

Default limits per workspace: When exceeded, the API returns 429 Too Many Requests. See Limits reference for payload size limits.

Create a trace with spans

The primary logging endpoint. Send a trace and its spans in a single request:
Response (200 OK):

Add a span to an existing trace

Append a span to a trace that was created in a previous request:

Update a trace

Use PATCH to update trace attributes, tags, or status after creation. This is how you log user feedback, add metadata after the fact, or correct a status:

Fetch deployments

Retrieve deployed prompt configurations — model settings, messages, tools, and variables — so your application can use the latest version without redeploying code.
The response includes the full prompt configuration:

Next steps

With Adaline SDKs

Use the TypeScript or Python SDK for automatic buffering, retries, and deployment caching.

API Reference

Full OpenAPI endpoint documentation with request/response schemas.

Log User Feedback

Attach feedback signals to traces via the PATCH endpoint.

Authentication & Limits

API key management, rate limits, and payload constraints.