API compatibility policy¶
/api/v1 is the first stable CodeCortex Platform HTTP contract.
Rules:
- Existing fields and endpoints in a stable version are not removed or redefined incompatibly.
- Additive optional fields and new endpoints may be added to the same stable version.
- A breaking request or response change requires a new prefix such as
/api/v2. - Deprecated versions remain discoverable through
/api/v1/api-versionswhile supported. - SDKs default to the current stable version but allow the caller to select a version explicitly.