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
https://api.staging.adaline.ai/v2.
Authentication
All requests require a Bearer token in theAuthorization header.
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: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
UsePATCH 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.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.