Skip to content

Create Web Search

POST
/v1/responses
  • Enable web search tools such as web_search_preview via tools
  • 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
object

ID of the model to use.

object[]
Required

Array of tools the model may call when generating a response.

Text prompt from the user.

Responses

application/json
object
object[]
Required
object
Required

Playground

Authorization
Body

Samples