SDK (Node.js)
Using OpenAPI Generator to produce a typed Node client.
Generate
The canonical spec is docs/openapi/gateway.yaml. Use openapi-generator (see docs/openapi/SDK-GENERATION.md) to emit a TypeScript or Node client.
bash
npx @openapitools/openapi-generator-cli generate \
-i docs/openapi/gateway.yaml \
-g typescript-fetch \
-o ./sdk/node
Usage
Point the generated client at your gateway base URL, pass Bearer tokens, and set organization context when using Clerk-backed flows from a trusted server.
Versioning
Pin the generator and spec version in CI so upgrades are deliberate.