The official TypeScript SDK (@ligantic/sdk) and command-line interface (@ligantic/cli) give external developers one coherent way to authenticate, manage Spaces and Resources, work with Records, and invoke and inspect Flows against the Ligantic API.
Both packages are treated as one developer experience: they share the same contracts, authentication, error model, and versioning. The CLI is a thin, human-friendly layer built directly on the SDK.
Result and the SDK never throws.The SDK and CLI pages are grouped under the matching section of the external docs.
Document | What you'll do |
|---|---|
Install → authenticate → list a Space → read a Record → run a Flow, end to end |
Document | Goal |
|---|---|
Trigger and wait on a Flow run from a non-interactive job | |
Create and inspect Records from the command line | |
Page through list endpoints with raw | |
How to Build Schemas, Flows, and Experiences Incrementally with the CLI | Change one Schema field, Flow node or edge, or Experience block at a time |
Pipe the key, select a Space, and consume |
Document | Contents |
|---|---|
The | |
Every hand-written | |
The commands generated from the OpenAPI spec, covering the rest of the API |
Document | Topic |
|---|---|
API-key auth, where the CLI stores the key, and the config precedence chain | |
Why the SDK never throws, and how to read a | |
The compatibility model and how the SDK tracks the OpenAPI version |
pnpm add @ligantic/sdk
pnpm add --global @ligantic/cliThe SDK and CLI are released in lockstep. Breaking changes to the public surface only occur in a major version; deprecated members remain functional for at least one minor (and through the current major for API-driven deprecations) before removal. See The SDK as an API Mirror for the full compatibility model.