# ChaozCode API lifecycle and deprecation policy Last verified: 2026-10-07 ## Contract classes - **Supported customer API** — documented in `/api/reference/` and `/api/openapi.json`; intended for customer integrations. - **Browser application API** — used by the ChaozCode web application; may depend on session cookies/CSRF and is not automatically a supported external integration contract. - **Internal/admin API** — service-to-service, administrative, operator, ToolEngine, or infrastructure surfaces. Discovery does not make them public API. ## Compatibility Supported customer endpoints are documented with their exact live route. File extensions are significant where shown. A similar internal route, catalog entry, or extensionless path is not an alias unless documented as one. ## Deprecation When a supported customer API must be replaced, ChaozCode should publish the replacement and migration guidance before removal. Security-critical routes may be restricted or removed faster when continued exposure would be unsafe. Historical endpoints that are already absent are documented as historical rather than recreated solely for compatibility. ## Verification The documentation build validates internal links and a live-contract probe validates canonical public/customer/service routes by expected HTTP behavior. API reference changes should be backed by source inspection or live gateway evidence, not catalog discovery alone.