Skip to main content
A response stream passing through an inspection filter that catches leaked prompt material
SERV applies a system-prompt content filter by default when SERV Reasoning is active. It examines the generated response for content that appears to reveal protected instructions or hidden prompt material.

What happens when it detects leakage

The filter runs after the upstream model has generated its answer. If the answer matches protected prompt material, SERV returns a safe refusal in the endpoint’s normal response format instead of passing the leaked text to your application. The event is recorded as a safety outcome for internal usage reporting. This is different from serv_prompt_guard: Disable the output filter only when revealing the instructions is an intentional part of the request, such as a prompt-transparency or debugging experience.
The marker is consumed by SERV and is never sent to the model. Disabling the content filter does not disable serv_prompt_guard, and enabling the prompt guard does not disable the content filter. The filter is designed for system-prompt leakage, not general moderation. Continue to apply your own policy checks for harmful content, personal data, and business actions.
Do not disable the filter for ordinary user requests. Once disabled, SERV will no longer prevent the model from echoing your system prompt in its response.