/v1/apps/:id/...) and the per-user mount (/v1/users/:user_id/apps/:id/...). The :user_id may be default (your own project) or an end-user id (multi-tenant). On per-user mounts the kit must enable the database primitive.
Endpoints
| Method | Path | Description |
|---|---|---|
POST | /v1/apps/:id/db/query | Run SQL (SELECT / DML / DDL) via the Supabase Management API |
GET | /v1/apps/:id/db/tables | List public-schema tables with row counts |
ANY | /v1/apps/:id/db/rest/* | PostgREST data API passthrough (service-role key) |
ANY | /v1/apps/:id/supabase/proxy/v1/projects/{ref}/database/migrations | Tracked migrations (Management API — gated to approved Supabase orgs) |
SQL
501 feature_not_configured otherwise).
PostgREST
/rest/v1/* with the service-role key (RLS bypassed). Uses PostgREST query syntax.
SDK
database sub-client.