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.| Resource | What you can do |
|---|---|
| Logs | Create traces with spans, add spans to existing traces, update traces with feedback or metadata. |
| Deployments | Fetch deployed prompt configurations (model, messages, tools, variables) by ID or environment. |
| Prompts | Create, list, get, update, and delete prompts. Manage drafts and playground configurations. |
| Datasets | Create and manage evaluation datasets — add columns, insert rows, fetch dynamic columns. |
| Evaluators | Create and configure evaluators (LLM judge, text match, JavaScript, JSON, cost, latency, and more). |
| Evaluations | Run evaluations against datasets, track progress, retrieve results. |
| Projects | List all projects accessible by your API key. |
| Providers | List configured AI providers and their available models. |
| Models | List all available models, optionally filtered by provider. |
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:| Resource | Limit | Window |
|---|---|---|
| Log Trace endpoints | 60,000 requests | per minute |
| Log Span endpoints | 150,000 requests | per minute |
| Deployment endpoints | 60,000 requests | per minute |
| All other endpoints | 6,000 requests | per minute |
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.