GET /api
Returns service metadata plus the current caller (if authenticated).
- Auth – optional session cookie or API key.
- Response
GET /:project/api
Project-scoped equivalent of the root endpoint.
- Path param –
projectaccepts a slug or UUID; it is resolved viadatabase.projects.resolve. - Auth – optional, but the response only includes the project payload when you have the
projects.readpermission for that slug. - Response
Error shape
Validation errors and rejected permission checks use the same JSON envelope:status property before trusting other fields.