Use this file to discover all available pages before exploring further.
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.
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.
All requests require a Bearer token in the Authorization header.
curl -X GET "https://api.adaline.ai/v2/projects" \ -H "Authorization: Bearer your-api-key"
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:
{ "error": { "code": "UNAUTHORIZED", "message": "Invalid or missing API key." }}
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:
Retrieve deployed prompt configurations — model settings, messages, tools, and variables — so your application can use the latest version without redeploying code.
# Fetch a specific deploymentcurl -X GET "https://api.adaline.ai/v2/deployments?promptId=your-prompt-id&deploymentId=your-deployment-id" \ -H "Authorization: Bearer your-api-key"# Fetch the latest deployment for an environmentcurl -X GET "https://api.adaline.ai/v2/deployments?promptId=your-prompt-id&deploymentId=latest&deploymentEnvironmentId=your-env-id" \ -H "Authorization: Bearer your-api-key"
The response includes the full prompt configuration: