Kreo/Docs/Core
Core

REST API — automatic PostgreSQL REST API

Kreo generates a REST API for every table automatically. Reads, writes, filtering, ordering and pagination all work out of the box — a PostgreSQL automated REST API without writing or deploying a single endpoint.

Read rows

GET a table to read its rows. Filter by any column, order and paginate with query parameters.

GET /api/rest/posts?published=true&order=created_at&dir=desc&limit=20

Write rows

POST to insert, PUT to update by id, DELETE to remove. Each key's permissions (read / write / delete) and table allowlist are enforced on every request.

curl -X POST https://app.kreo.work/api/rest/posts \
  -H "x-kreo-api-key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Hello"}'

Secure by default

Requests pass through Kreo Sys Security: key verification, origin locking for public keys, per-key rate limiting and anomaly detection. Public data stays public; everything else is denied by default.

Start building — freeAll documentation