Versioning
The API lives under /api/v1. Clients should pin the versioned path, not
an unversioned one.
Additive changes flow automatically
New endpoints, new optional fields, new events, and new scopes are added to the current version as the registry evolves — the API surface is derived from Kalaaf's own capability registry, so additive changes arrive with the next server release. Additive changes never break existing clients.
Breaking changes get a new version
Removing or renaming an endpoint or field, changing a field's type or
semantics, removing an event, or tightening a scope's meaning is a
breaking change. Breaking changes require a new version (/api/v2), and
the old version keeps serving until an announced sunset.
The spec carries the version
The OpenAPI specification
carries the API version in its info block, and the endpoint
reference is generated from that specification,
so the reference always matches the version it documents. The derived
surface updates at server restart/redeploy — a new capability appears in
the API with the release that ships it.