KORTHEXDocumentation

Docs / DEVELOPER TOOLS

DEVELOPER TOOLS

Advanced Topics

Written and maintained by Hendrik Schneider · Last reviewed · How we check this

Power-user features that aren't part of the everyday surface but matter once you push the SDK into production-scale workflows.

Streaming Large Result Sets

Every list endpoint exposes an async iterator. Memory stays bounded regardless of result-set size; the SDK handles cursor pagination and back-pressure internally.

Response Caching

The SDK ships an opt-in response cache for idempotent reads (reports, inventories, baseline lookups). Configure with new KorthexClient( { cache: { ttl: 300, max: 1000 } } ) .

Self-Hosted & Air-Gapped Backends

Point the SDK at a self-hosted Dashboard or an air-gapped Korthex installation with the endpoint option. Mutual TLS pinning is configurable for air-gapped deployments where the SDK can't reach the public CA chain.

Telemetry & Observability

Plug your own logger or OpenTelemetry tracer with new KorthexClient( { logger, tracer } ) . Off by default; no client-side data leaves your process unless you wire it.