Authentication

API Key Authentication

For direct programmatic access or personal automation, awRAG supports API key authentication.

Obtaining API Keys

  1. Log in to awRAG at https://awrag.io
  2. Navigate to Settings → API Keys
  3. Click "Generate New API Key"
  4. Copy the key immediately (shown only once)

Using API Keys

Include the API key in the Authorization header with Bearer scheme:

bash
curl -X POST https://awrag.io/api/v1/search \
  -H "Authorization: Bearer rbx_YOUR_API_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{"query": "neural networks", "limit": 5}'