Docs
API versioning
API versioning
How Cascades signals HTTP API revisions without `/api/v1/` path prefixes today.
Current strategy (documented)
- Machine-readable revision:
GET /api/system/versionreturns{ "apiVersion": "v1" }(seecontracts/api.yaml/ApiVersionResponse). SDKs should treat this label as the compatibility epoch for the HTTP surface bundled incontracts/api.yaml. - No path prefix: Public routes remain under
/api/...without embedding/v1/in the path. Breaking HTTP changes are expected to coincide with anapiVersionbump (or a documented migration window) rather than silent URL churn.
Contract sources
- SDKs and external codegen:
contracts/api.yaml(narrower, stable boundary). - Full product + dashboard routes:
/openapi.json(superset; includes paths intentionally omitted from the SDK contract).
Alternatives (not implemented)
Prefix versioning (/api/v1/workflows/run) could be introduced later behind routing + reverse-proxy rules; it would require explicit gateway mapping and a migration plan for cookies and relative URLs.