Cronozen AI Context
This page provides structured context for AI agents (Claude, Cursor, ChatGPT) to understand the Cronozen platform and generate accurate code.For machine-readable versions, see llms.txt and llms-full.txt.
What is Cronozen?
A multi-tenant SaaS operating system for 7 verticals: rehabilitation, welfare, education, pharmacy, commerce, mentoring, interior design. Hub-and-spoke architecture with SSO, DPU (cryptographic decision proof), and white-label support.Key Entities
| Entity | Description | Key Identifier |
|---|---|---|
| Actor | An authenticated identity (person) | actorId (UUID) |
| Center | An isolated organization (tenant) | centerId (Integer) |
| Membership | Actor-to-center access grant | role + status |
| Workspace | Personal actor context | isPersonalWorkspaceDomain() |
| DPU | Tamper-evident decision record | chainHash (SHA-256) |
| Tenant | LMS service tenant | tenantId (UUID) |
Actor Roles
Membership Lifecycle
Tech Stack
Hub-and-Spoke Services
Common Patterns
Authentication Flow
Multi-Tenant Data Access
DPU Hash Chain
White-Label Domain Resolution
API Quick Reference
Core Endpoints
| Action | Method | Path |
|---|---|---|
| Login | POST | /api/auth/login |
| Current user | GET | /api/auth/me |
| Switch center | POST | /api/auth/switch-center |
| SSO token | POST | /api/auth/sso/token |
| Get center | GET | /api/centers/{domain} |
| Search centers | POST | /api/centers/search |
| Create DPU | POST | /api/dpu/demo |
| Get DPU | GET | /api/dpu/{id} |
| Export DPU | GET | /api/dpu/{id}/export |
| Verify chain | GET | /api/dpu/{id}/verify |
Partner Endpoints
| Action | Method | Path |
|---|---|---|
| List centers | GET | /api/partner/centers |
| Create center | POST | /api/partner/centers |
| Dashboard stats | GET | /api/partner/stats/dashboard |
| Audit log | GET | /api/partner/audit |
| Members | GET | /api/partner/members |
| Settings | GET/PATCH | /api/partner/settings |
Provisioning
| Action | Method | Path |
|---|---|---|
| Create center | POST | /api/provisioning/center-tenant |
| Check subdomain | POST | /api/provisioning/check-subdomain |
| Center plans | GET | /api/provisioning/center-plans |
| LMS plans | GET | /api/provisioning/lms-plans |