Create Web Search
POST
/v1/responses
- Enable web search tools such as
web_search_previewviatools - Compatible with the OpenAI Responses API create response endpoint
- Some models (e.g. o3-pro, codex-mini-latest) support only the Response format
- Official docs: Create a model response
Authorizations
bearer
Type
HTTP (bearer)
Request Body
application/json
model
string
Required
ID of the model to use.
tools
object[]
Required
Array of tools the model may call when generating a response.
Expand
input
string
Required
Text prompt from the user.
Responses
application/json
object
id
string
Required
object
string
Required
created
integer
Required
choices
object[]
Required
usage
object
Required