Skip to main content

SDK

@idem0/sdk is two pure functions — a config producer, not a client wrapper.

idem0(options)

Spread the result into your provider SDK constructor, once per client. Returns:

idempotencyKey(key)

Build the per-call header. Drop it into a request’s headers.
The key is caller-owned and passed through verbatim — idem0 never generates it.

HTTP contract

No SDK required — any HTTP client works. Point your requests at the idem0 proxy and add two headers.

Endpoints

The proxy strips the provider prefix and forwards everything else upstream unchanged.

Request headers

Response headers

Status codes

Keyless requests pass straight through to the provider — no idempotency, no change in behavior.