openai_responses_validate

Validates and enriches Responses API requests.

Versions marked “overview” do not contain this page. Selecting one opens that version’s documentation overview.

On this page

Validates and enriches Responses API requests.

Configuration Notes

Parses the body as [serde_json::Value] for targeted field extraction. Does not deserialize the full body into a typed struct or validate other provider-owned parameter combinations. The preceding classifier rejects unsupported background=true requests before this filter runs.

Must be placed after openai_responses_format in the filter chain. Skips non-Responses API requests (those not classified as openai_responses).

Generates metadata: responses.response_id (format: resp_ + 32 hex chars, CSPRNG), responses.conversation_id, responses.store, responses.background, responses.stream.

This filter has no configuration, body buffering is handled by the upstream openai_responses_format classifier.

Example

filter: openai_responses_validate