メインコンテンツへスキップ
更新日: 2026-06-06

Web Search

This page only documents OpenAI-style web search behavior that was revalidated against Crazyrouter production on 2026-03-22. The current primary path is:
  • gpt-5.5
  • POST /v1/responses
  • tools: [{ "type": "web_search_preview" }]

Current conclusion

In today’s production recheck:
  • gpt-5.5 via the Responses API reliably returned web_search_call
  • the older Chat Completions probe using tools: [{ "type": "web_search" }] returned 200, but did not provide a stable, verifiable search trigger signal, so it is not used as the primary documented pattern

Verified request

cURL
Verified output.type values:
This shows that the search step and the final answer are returned separately.

Python example

Python

How to confirm search actually ran

Inspect response.output directly:
Python
If you see:
then the model searched first and answered second.
This production recheck also probed the older Chat Completions shape:
Result:
  • the request returned 200
  • but no stable, verifiable search trigger marker was observed
So for Crazyrouter docs, OpenAI-style web search should currently be documented through the Responses API first. Related pages: