Client options
Secret API key. Required — the constructor throws if omitted; the SDK does not read
environment variables.
Per-request timeout in milliseconds.
Max automatic retries on transient failures (408, 429, 5xx, network errors, timeouts).
Custom fetch implementation (e.g. undici). Defaults to the global fetch.
Per-request options
Every method accepts an options object as its last argument to override transport behavior
for a single call:
Override the client timeout for this request.
Override retries for this request (e.g. 0 to disable).
Cancel the request; composed with the internal timeout.