Skip to main content

Constructor options

Runtime requirements

Use Node.js 20.3 or later. The SDK relies on WHATWG fetch and AbortSignal.any, introduced in Node 20.3; a custom fetch alone does not supply the abort API. Keep the SDK server-side so the API key stays on your servers. The transport posts to /api/v1/graphql, the supported alias of /api/v1/call, with the same { operationId, variables } body. Supply only the host in baseUrl. For direct HTTP calls, prefer /api/v1/call.
Keys are per-user, org-scopedEvery call executes as the key’s owning user. Rotating the key owner’s permissions (or deactivating the user) changes what the key can do — treat key ownership as part of your integration’s configuration.