SeleID

SeleBase

SQL console

Overview · SQL console · Limits · Migrations · Errors · Examples

The console is a page where you paste your ssk_ key, pick a database, and run one statement at a time. The key stays in the page's memory and is never stored.

  • Schema lists your tables, indexes and views.
  • Run sends the statement to the query endpoint with your key's role. A read key can only run SELECT.
  • Export dump downloads a SQL dump.

Person access for apps

An app can let each signed-in person have their own private databases, with no server key inside the app. A person's databases are separate from every other person's and from yours: another person, another app or your server keys can never open them, even with the same database name.

  1. With a server key that has the admin role, register your app: PUT /v1/person/clients/{clientId} with {"rules":{"person":["read","write"]}}. Access is off until you do. read alone allows queries that only read.
  2. In the app, send the signed-in person's ID token (the id_token from sign-in) as Authorization: Bearer <token> to the same database endpoints.

With write, a person can create, change and delete their own databases (one each on a free project, up to three on paid plans). People cannot read usage or audit logs or change these rules. Reads and writes count against your plan with the same limits.

What the console allows

One statement, no ATTACH, PRAGMA, VACUUM, triggers, temporary tables, explicit transactions, extension loading, or changes to internal database objects. Every statement is logged (a hash of the text and row counts, never the text itself).

Last updated 2026-11-12Suggest an editReport a problem with this page