Skip to main content
API keys allow your applications to authenticate with Adaline’s API and SDK to access projects, prompts, send logs, run evaluations, and more.

Creating an API Key

Create API key
  1. Click on Settings in the sidebar
  2. Click on API keys
  3. Click on Create API key
  4. Enter a descriptive name for the key
  5. Click on the generated API key to copy and paste in a secure location. It will not be visible again.
  6. Click Create key
Copy your API key immediately after creation. For security reasons, the full key is only shown once.

Using API Keys

In the SDK

import { Adaline } from "@adaline/sdk";

const adaline = new Adaline({
  apiKey: "your-api-key"
});

In API Requests

Include the API key in the Authorization header:
curl -H "Authorization: Bearer your-api-key" \
  https://api.adaline.ai/v2/prompts