This explains the compatibility model: how the SDK relates to the Ligantic OpenAPI contract, what it mirrors, and how versions move.
The SDK is a versioned mirror of the OpenAPI v1 surface. It is not an independent API with its own semantics — it is a faithful, typed projection of the REST contract that Ligantic already exposes at /api/v1/*.
Space, Schema, LiganticRecord, Flow, FlowRun) and a result-based, never-throw API.The SDK does not invent endpoints the API doesn't have.
Result carries (as a typed value).List methods take structured query parameters (filter, sort, select, …) as plain objects and arrays. The SDK sends them to the server as you pass them.
The v1 capability matrix:
me.Not covered by v1: Experiences, Flow versions and version-pinned runs, organisations, membership, export/import, folders, billing, and updating relationships. v1 runs the current published version of a Flow.
The SDK follows a deprecate-then-remove policy:
@deprecated in JSDoc in the next minor, with the replacement named.The CLI applies the same policy: a deprecated command or flag prints a warning to stderr that does not affect --json stdout.
The SDK and CLI are released in lockstep with a shared SemVer. The CLI is built on the SDK and the two are one developer experience, so a breaking SDK change and the CLI change that follows from it ship together in the same major.