Skip to content
Documentation/docs/gateway/
Browse documentation

Optional product · Gateway

Protect reviewed API traffic with Gateway

Gateway is an unpublished candidate for a bounded OpenAI text subset. It is optional and is not a general proxy or a stable production release.

01 · Gateway

Route the SDK

Build the candidate from source, validate its configuration, and point an existing SDK at the loopback endpoint.

const client = new OpenAI({
  baseURL: "http://127.0.0.1:8787/v1",
  apiKey: process.env.OPENAI_API_KEY,
});
// Gateway is source-only and experimental; qualify the supported endpoint first.

02 · Gateway

Fail-closed boundary

Supported request bodies are fully admitted, inspected, and transformed before any body bytes are sent upstream.

  • Unknown fields, unsupported content, malformed input, exhausted limits, or processing failures are rejected.
  • Provider responses and upstream errors are relayed without response-content redaction.
  • No artifact is published, signed, or authorized for production distribution.