Documentation Index
Fetch the complete documentation index at: https://docs.opper.ai/llms.txt
Use this file to discover all available pages before exploring further.
Control Plane features are in early access and need to be turned on per account. Contact support@opper.ai if you’re interested.
Rule kinds
Open platform.opper.ai and navigate to Controls → Guard to add a rule. There are two kinds.LLM Guard
A custom prompt that classifies content. The model returns a flagged/not-flagged decision; what happens next depends on the action.- Prompt — free-text classification instructions, for example: “Flag support messages that include a plaintext password, API key, or access token. Do not flag placeholders or general security questions.”
- Model — the model that runs the check:
- Auto (default) — cheapest model that supports structured output.
- Small — GPT OSS 120B, EU-hosted.
- Medium — Kimi K2.5, EU-hosted.
- Large — Claude Opus 4.6 — highest accuracy.
- Action — Flag, Block, or Redact.
- Input / Output / Input + Output — where the rule applies.
Regex Guard
Pattern-based detection. Use this for known formats you want to catch deterministically.- Patterns — a list, each with an optional name, the regex, and flags chosen from
i,m,s,d,y,u. The editor includes a test harness that highlights matches against sample text, plus an “AI-generate” button that drafts a pattern from a description. - Replacement — text used by Redact (default
***). - Action — Flag, Block, or Redact.
- Input / Output / Input + Output — where the rule applies.
Actions
| Action | What happens |
|---|---|
| Flag | The match is logged on the trace; the call proceeds normally. |
| Block | The call is rejected — before the model runs (Input) or before the response returns (Output). |
| Redact | The matched content is replaced — either with the default *** or with the replacement text you set. |
Scope
- Organization — every project and every function.
- Projects — one or more specific projects.
- Functions — specific functions inside a project.
In traces
Guardrail events appear on a span with a ShieldCheck icon labeled Guardrail, with status:- Passed — the call satisfied the rule.
- Flagged — the rule matched but the action was Flag, so the call proceeded.
- Blocked — the rule rejected the call (red).