releases.shpreview
Stainless/Stainless/Omit X-Stainless-* headers

Omit X-Stainless-* headers

You can now omit all X-Stainless-* headers from generated SDKs by adding the omit_stainless_headers to your Stainless config:

client_settings:
  omit_stainless_headers: true

This is particularly useful if your API has a headers allowlist that rejects requests containing unknown headers.

Fetched May 22, 2026