Skip to content
AppmakeDocs
Log inGet started
Platform API · Endpoints

Database

Read the tables and rows of a project's database.

Base URLhttps://api.kalle.build/v1AuthBearer kalle_sk_…VersionKalle-Version: 2026-11-01

List tables

Returns each table with its columns and row count.

GET/v1/projects/prj_8Hq2c/database/tables
curl https://api.kalle.build/v1/projects/prj_8Hq2c/database/tables \
  -H "Authorization: Bearer $KALLE_API_KEY" \
  -H "Kalle-Version: 2026-11-01"
Open in Appmake

Run a query

Queries are read-only by default. To change data, add "allow_write": true. Use params for values instead of building SQL strings.

POST/v1/projects/prj_8Hq2c/database/query
curl https://api.kalle.build/v1/projects/prj_8Hq2c/database/query \
  -H "Authorization: Bearer $KALLE_API_KEY" \
  -H "Kalle-Version: 2026-11-01" \
  -H "Content-Type: application/json" \
  -d '{
    "sql": "select name, starts_at from classes where starts_at > now() order by starts_at limit 5"
  }'
Open in Appmake