Web Search
This page only documents OpenAI-style web search behavior that was revalidated against Crazyrouter production on2026-03-22.
The current primary path is:
gpt-5.4POST /v1/responsestools: [{ "type": "web_search_preview" }]
Current conclusion
In today’s production recheck:gpt-5.4via the Responses API reliably returnedweb_search_call- the older Chat Completions probe using
tools: [{ "type": "web_search" }]returned200, but did not provide a stable, verifiable search trigger signal, so it is not used as the primary documented pattern
Verified request
cURL
output.type values:
Python example
Python
How to confirm search actually ran
Inspectresponse.output directly:
Python
Older pattern not recommended as primary
This production recheck also probed the older Chat Completions shape:- the request returned
200 - but no stable, verifiable search trigger marker was observed