Appnigma
SDKReference

Last updated on October 23, 2026

Settings

Every setting the SDK client takes, with its default.

Client settings

All settings are optional. In TypeScript they are passed to new Appnigma({ ... }). In Ruby they are passed to Appnigma::Client.new, and in Python to Appnigma(), with the names in snake case. In Python, key can be passed first without its name; the rest are passed by name.

keystringoptionaldefault: APPNIGMA_SDK_KEY

Your SDK key. Read from the APPNIGMA_SDK_KEY environment variable when not passed. See The SDK key.

timeoutMsnumberoptionaldefault: 30000

How long one attempt may take, in milliseconds. A whole number, at most 2147483647 (about 24.8 days). In Ruby and Python: timeout_ms.

maxRetriesnumberoptionaldefault: 2

How many times a call is tried again. 0 means one attempt. In Ruby and Python: max_retries.

maxRetryWaitMsnumberoptionaldefault: 30000

The longest Retry-After wait the client will sit through, in milliseconds, at most 2147483647. In Ruby and Python: max_retry_wait_ms.

fetchImplementationfunctionoptionaldefault: the global fetch

TypeScript only. A replacement fetch, for a proxy or a test.

A bad setting is refused before any call, with an input error.

Per call

As an optional second argument to any call: timeoutMs and signal, an AbortSignal that cancels the call.

As a keyword argument to any call: timeout_ms:.

By name to any call: timeout_ms=.

See Retries and time limits for an example.

On this page