Documentation
The gateway speaks the OpenAI chat-completions protocol. If your code already talks to an OpenAI-compatible endpoint, you change the base URL and the key, and you gain a policy gate in front of the model and a guard on the way out.
Two model settings, one product
The gate is called Wattsfor. The detect setting is the latency-first classifier; the labels setting is the policy classifier, sold as Wattsfor Labels. The API keeps the tier values fast and strict, so existing clients do not change.
Start here
- Quickstart: your first request, and how to read the verdict.
- API reference: endpoints, accepted fields, limits and streaming behaviour.
- Errors and headers: every status code and response header, and what to do about each.
- Audit ledger: what is recorded and how to verify the chain.
- Deploy the sidecar: run it inside your own cloud.
Current build
The response headers and some identifiers in this build still carry the project’s former name (x-wattsfor-*). They will be renamed in a later release; the documentation below uses the names as they are today.
Principles
- Text only. Images, audio and files cannot be inspected, so they are refused.
- Fail closed. If the gate cannot decide, nothing is forwarded.
- Your messages are never rewritten. The gate reads a normalised copy; the model receives what you sent.
- No text in the ledger. Decisions are recorded as metadata and a hash chain.