Configuration Models¶
The bodies the Configuration API takes and returns. A response adds the
server-managed fields (uuid, created_at) and carries the record under data. Every severity
line is a number from 0 to 10, default 5, see Severity and monitoring.
FirewallConfig¶
A chat inbound or chat outbound configuration, see Chat security.
| Field | Type | Description |
|---|---|---|
name |
string |
The configuration's name. |
type |
string |
inbound (chat inbound) or outbound (chat outbound). |
version |
integer |
Served with the configuration. Send it back unchanged on a save: when the configuration changed since you read it, the save is refused with 409. Leave it out to overwrite. |
status |
string |
Served with the configuration: active, or retired for one deleted while analytics records still name it. Ignored on a save. |
prompt_injection_active |
boolean |
Prompt Injection on. Inbound only: true on an outbound configuration is refused. |
prompt_injection_min_block_severity |
integer |
Its severity line. |
prompt_injection_markup_filter |
object |
xml, html, sql, json: block that embedded content type. |
prompt_injection_bypass_tag |
string |
Optional bypass tag: letters, numbers and underscores, up to 16 characters. |
pii_filter_active |
boolean |
PII Scanner on. |
pii_filter_config |
array |
One entry per entity class: classes (the class, for example EMAIL_ADDRESS), min_block_severity, and countries for a country-aware class. |
pii_anonymization |
boolean |
Pseudonymization on chat inbound, De-pseudonymization on chat outbound. |
pii_public_names_exempt |
boolean |
Ignore well-known public names, on by default. A save that leaves it out switches it back on. |
pii_allowlist |
array |
The PII check's Allowlist: name, pattern and active. A save that leaves it out empties it. |
language_filter_active |
boolean |
Language Scanner on. |
language_filter_valids |
array |
The allowed languages, as ISO 639 codes. |
language_filter_min_block_severity |
integer |
Its severity line. |
content_filter_active |
boolean |
Content on. |
content_filter_config |
array |
One entry per topic: topic, min_block_severity, and the fine-tuning positives, negatives and include_topic. |
custom_regex |
array |
The Custom Filter patterns: name, type (denylist), pattern and active. An entry of type allowlist or with applies_to is refused with 422: send the pattern in pii_allowlist. |
language_filter_block_message, prompt_injection_block_message, custom_regex_block_message |
string |
Optional message returned when that check blocks. |
custom_block_status_code |
integer |
Optional status code of a block. |
non_blocking |
boolean |
Monitoring mode. |
ToolScanConfig¶
A tool call or tool response configuration, see Agent security.
| Field | Type | Description |
|---|---|---|
name |
string |
The configuration's name. |
type |
string |
tool_call or tool_response. |
version |
integer |
Served with the configuration. Send it back unchanged on a save: when the configuration changed since you read it, the save is refused with 409. Leave it out to overwrite. |
status |
string |
Served with the configuration: active, or retired for one deleted while analytics records still name it. Ignored on a save. |
tools |
array |
Tool call only. One entry per tool: name, active, tool_usage (allowed or forbidden, Tool Usage Control), pii_filter, pattern_rules with key, regex and rule (deny; allow is refused with 422, Agent Privilege Scoping), and an optional custom_message. |
ipi_filter |
object |
Tool response only. Indirect Prompt Injection: active and min_block_severity. |
pii_filter |
object |
PII in Tool Traffic: active and redact_types, one entry per class with type, min_block_severity and countries, then public_names_exempt (on by default) and allowlist (name, pattern, active). On a tool call it sits on each tool. |
pattern_rules |
array |
Tool response only. regex over the whole response and rule (allow or deny). |
custom_message |
string |
Tool response only. Optional message returned when the configuration blocks. |
custom_block_status_code |
integer |
Optional status code of a block. |
non_blocking |
boolean |
Monitoring mode. |
ModelConfig¶
An LLM provider and the configurations that screen its traffic, see Model configuration.
| Field | Type | Description |
|---|---|---|
name |
string |
The model's name, as clients select it. |
version |
integer |
Served with the configuration. Send it back unchanged on a save: when the configuration changed since you read it, the save is refused with 409. Leave it out to overwrite. |
status |
string |
Served with the configuration: active, or retired for one deleted while analytics records still name it. Ignored on a save. |
provider |
string |
The provider, for example openai, azureopenai, anthropic or ollama (any OpenAI-compatible endpoint). |
config |
object |
The provider's settings, for example api_key and chat_model. Secrets are write-only: reads return ********. |
firewall_inbound |
string |
UUID of the chat inbound configuration. |
firewall_outbound |
string |
UUID of the chat outbound configuration. |
firewall_tool_inbound |
string |
UUID of the tool response configuration. |
firewall_tool_outbound |
string |
UUID of the tool call configuration. |