Database

Database API

API reference for databases, tables, fields, events and rows.

Database is a headless content store: structured tables and rows that people, agents and scripts read and write directly through the API, the way a headless CMS works. Concepts and behavior follow Supabase (PostgREST filters, projections, ordering and row writes via supabase-js), so Supabase experience applies. Differences: storage uses SQLite, not PostgreSQL, and schema changes use table/field APIs rather than SQL migrations or raw SQL; access uses a Praxis credential scoped to its tenant, with no Supabase Auth or row-level security policies; realtime row subscriptions are unavailable; casts, aggregates, spread and join modifiers are unsupported, and filtered planned/estimated counts may be unknown; upsert targets id or one unique field rather than composite keys. For an application's own runtime data, use the application's own d1, kv or r2 components instead. Start with praxis.database.databases.create to create a database, then use its returned id for tables and rows.

Use your API Key as a Bearer credential to manage databases and table structure.

https://api.deepraxis.ai/database/v1

Guide →

ResourcePath
Databases/database/v1/databases
Tables/database/v1/databases/{database_id}/tables
Fields/database/v1/databases/{database_id}/tables/{table}/fields
Events/database/v1/databases/{database_id}/events
REST/database/v1/databases/{database_id}/rest/{table}

Error codes

Export

On this page

No Headings