
Technical documentation to understand, integrate, and extend Ensoria OS.
All routes are prefixed with /api/.
| Method | Route | Auth | Description |
|---|---|---|---|
| POST | /api/auth/register | — | Register new user |
| POST | /api/auth/login | — | Login, returns JWT |
| GET | /api/auth/me | ✅ | Current user info |
| Method | Route | Description |
|---|---|---|
| GET | /api/people | List (query: type, stage, search) |
| POST | /api/people | Create person |
| GET | /api/people/:id | Get with projects |
| PUT | /api/people/:id | Update |
| PATCH | /api/people/:id/stage | Change stage |
| Method | Route | Description |
|---|---|---|
| GET | /api/projects | List (query: stage, peopleId, search) |
| POST | /api/projects | Create project |
| GET | /api/projects/:id | Get with all relations |
| PATCH | /api/projects/:id/stage | Change stage |
The Problem-Solving Framework.
Module that manages and maintains context.
Where interaction happens.
Objective, Goal, or Milestone.
Context loading. 5 phases.
Persistence. 6 operations.
Transformation engine.
Prisma data model.