Roles
Each table says who may do what.
Which roles may read, create, update or delete, across REST, MCP and machine-to-machine calls. An empty list means nobody.
Auto API is the part of Minimal Core that answers on every table of the database you register, behind the sign-in you already have.
Request
GET /minimal/api/rest/auto/v1/acme/people/postgres/acme/employee?fc=id,full_name&oy=id.as&ps=3&pg=0
LB-Access-Token: <your-access-token>Response · 200
[
{ "id": 1, "full_name": "Rafael Delacroix" },
{ "id": 2, "full_name": "Rafael Müller" },
{ "id": 3, "full_name": "Rafael Novak" }
]fc picks columns, oy orders, ps and pg page. Paging is mandatory, so no call reads a table whole by accident.
List, filter, insert, update and delete, as JSON, CSV or YAML. Each call is checked against the roles on the table and audited, whichever way it arrives.
Your apps and screens, over REST.
AI agents, as MCP tools, under the caller’s roles.
Devices and services, machine to machine, each with its own access token.
Minimal Core has no login screen. It runs on a private address that only your gateway reaches, and your gateway says who is calling in five headers.
| Header | What your gateway is saying |
|---|---|
X-Org-Id | Which organisation: your company, or one of your customers. |
X-Project-Id | Which application and its databases. |
X-Space-Id | Which environment: dev, staging or prod. |
X-User-Id | Who is calling: a person, a service or an AI agent. |
X-User-Roles | The roles the caller holds. |
No users to migrate and no second login to build. The gateway must be the only way in and must set the five headers itself. The Book of Minimal, Vol. III, builds it with Zitadel and APISIX.
A role is a word your gateway sends. Minimal Core never decides what it means.
Roles
Which roles may read, create, update or delete, across REST, MCP and machine-to-machine calls. An empty list means nobody.
Defaults
Writes, AI agents and service callers stay locked until you open them, role by role.
Rows
Bind one column to one request header and every read is filtered to match it.
Record
Who, which route, which status, how long. Traces go to any OpenTelemetry collector.
A payroll total is logic, not a table. Write it as a Custom API, or ask your AI agent to build it in plain English. Custom API ›
Minimal Core serves the analytics of Talk, our Android app.
Free licence: 50,000 requests a month, for any use, commercial included. Sign in with Google or GitHub, download your licence file. No card.