Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.powabase.ai/llms.txt

Use this file to discover all available pages before exploring further.

This guide covers the basics: your project URL, authentication headers, and a quick verification request. Once you’re set up, you can start building with any part of the API.
1

Your Project URL

Every project has a unique base URL. All API endpoints are relative to this URL.Endpoint: Base URL
BASE_URL = "{BASE_URL}"
2

Authentication

Include your service_role key in every request. This key has full access and bypasses Row Level Security — never expose it in client-side code.Endpoint: Headers: apikey + Authorization
import requests

API_KEY = "{API_KEY}"

headers = {
    "apikey": API_KEY,
    "Authorization": f"Bearer {API_KEY}",
    "Content-Type": "application/json",
}
3

Verify Your Setup

Make a quick request to list agents. If you get an empty array or a list of agents, your setup is working.Endpoint: GET /api/agents
response = requests.get(
    f"{BASE_URL}/api/agents",
    headers=headers,
)
print(response.json())
Response:
[
  {
    "id": "uuid-here",
    "name": "My Agent",
    "model": "gpt-4o",
    "created_at": "2026-01-01T00:00:00Z"
  }
]

What’s Next

Quickstart

Build an end-to-end RAG agent in 5 minutes.

Upload a Document

Start ingesting content into the platform.

Architecture

Understand the platform’s structure.