Authentication
How Kytable identifies callers and enforces project access (owner, write, read).
Browser session
When you are signed in, NextAuth session cookies are sent automatically from the Kytable origin. Server routes use requireProjectAccess: unknown projects or missing membership return 404; read-only collaborators cannot call write routes (403 read_only).
API keys (planned)
- Created in Organization → Settings → API keys
- Scoped to one project or whole organization
- Roles: read (rows, exports) or write (agent, jobs, schema changes)