Holiday offer: AI Agent Gap Check — $2,500, results in 5 business days →
Rends

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 and pass an API key as a Bearer token. The organization is resolved server-side from the credential — you do not set it on the client.

Versioning

Pin the generator and spec version in CI so upgrades are deliberate.

SDK (Node.js) | Rends