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.
Control Plane vs Data Plane
The platform uses a two-tier architecture. A single shared Control Plane manages organizations, projects, users, and authentication. It provisions a fully isolated Data Plane for each project — including its own Postgres database, API gateway, auth service, storage, and AI service.Per-Project Isolation
Each project gets its own complete infrastructure stack. This means one project’s data, users, and configuration are completely separate from another’s. Projects can’t see each other’s databases, storage buckets, or API keys. This isolation is enforced at the infrastructure level — each project runs its own Postgres instance, its own auth service, and its own AI service worker.API Authentication
Every API request requires two headers: an apikey header and a Bearer token in the Authorization header. The service_role key gives full access and bypasses Row Level Security — use it for server-side calls only. The anon key respects RLS policies and is safe for client-side use.Request Routing
When you make an API call, the request first hits the project’s Kong API gateway. Kong routes /api/* paths to the Project Service (AI features), /auth/* to GoTrue (authentication), /rest/* to PostgREST (direct database access), and /storage/* to the Storage API. The control plane acts as a reverse proxy, routing requests to the correct project’s infrastructure based on the project URL.Database Schemas
Each project database has four schemas. The ai schema is managed by the platform and stores all AI-related data. The public schema is yours to use for application data. The auth and storage schemas are managed by GoTrue and the Storage API respectively.| Schema | Owner | Purpose |
|---|---|---|
| ai | Platform | Sources, knowledge bases, chunks, embeddings, agents, sessions, runs, workflows |
| public | You | Your application tables, accessible via PostgREST |
| auth | GoTrue | User accounts, sessions, tokens |
| storage | Storage API | File metadata, bucket configuration |
Next Steps
Authentication Guide
Set up API keys and make your first request.
Sources & Extraction
Learn how document ingestion works.
Database Access
Query your project database via PostgREST.