API Reference
API routes available for self-hosted COREY deployments.
The API reference is intended for self-hosted deployments. Local-first review works without these routes.
Health
GET /api/health: app status and backend configuration summary
Models
GET /api/models: list stored modelsPOST /api/models: upload IFC bytes. Usex-model-namefor the display nameGET /api/models/[id]: read model metadataGET /api/models/[id]/file: download model bytesPOST /api/models/[id]/writeback: export edited IFC bytes for a server model
Drafts
GET /api/models/[id]/draftPUT /api/models/[id]/draftDELETE /api/models/[id]/draft
Rules And Compute
GET /api/rules/configPUT /api/rules/configPOST /api/rules/evaluateGET /api/rule-templatesGET /api/rule-templates/[id]GET /api/rule-templates/[id]?format=configGET /api/rule-templates/[id]?format=sourcePOST /api/data-table/excel/exportPOST /api/data-table/excel/import
Upload Limits
COREY_MAX_MODEL_BYTES controls the maximum accepted upload size. The default is
250 MiB.