Adaline API Reference

Welcome to the Adaline API documentation. The Adaline API enables you to programmatically manage your prompt deployments, monitor their performance, and work with structured prompt types for seamless LLM integration.

Base URL

All API requests should be made to:
https://api.adaline.ai/v2

Authentication

All API requests require authentication using a workspace API key. Include your API key in the Authorization header using the Bearer token format:
Authorization: Bearer YOUR_WORKSPACE_API_KEY
You can create your workspace API key in Adaline by visiting Settings > API Keys.

API Structure

The Adaline API is organized into two main sections:

API Endpoints

Deployments
  • GET /deployments - Retrieve specific deployed prompts by ID
  • GET /deployments - Get the latest deployment in any environment
Logs & Monitoring
  • POST /logs/trace - Create detailed execution traces for monitoring
  • POST /logs/span - Log individual spans within traces
  • PATCH /logs/trace - Update existing trace information

Type Definitions

Core data structures that power the Adaline ecosystem:
  • PromptType - Complete prompt definitions with config, messages, tools, and variables
  • ConfigType - Provider and runtime configuration settings
  • MessageType - Conversation message structures for LLM interactions
  • ToolType - Tool definitions for function calling and integrations
Start with the API section for implementation details, or check out Types to understand our data structures.