How filtering works
The filter runs as the upstream model generates or returns its answer. If the answer matches protected reasoning-prompt material, SERV replaces the affected text with a short refusal, or stops a stream and ends it with one. On a non-streaming Responses request, a leaking function call is returned witharguments: "{}" and status: "incomplete" instead, so check the status before you execute it. The event is recorded in the Safety section of the Usage page. See serv_disable_content_filter for exactly what is scanned and how each endpoint marks a blocked response.
This is different from serv_prompt_guard:
Turn off the filter only for a controlled test that needs to inspect whether model output repeats SERV reasoning-prompt content.
serv_prompt_guard, and enabling the prompt guard does not disable the content filter. Do not rely on serv_disable_content_filter with /v1/messages; that endpoint does not run the output filter.
The filter checks for leakage of SERV’s generated reasoning prompt. It does not moderate harmful content, protect personal data, or approve business actions. Handle those policies in your application.
The filter only runs when SERV generated a reasoning prompt for the request. If generation fails, the request continues without it and without an error. See When SERV features are skipped.
Open the Safety report to review leak-detection totals, blocked requests, and reported false positives.
