AI Search
API for AI-generated answers backed by real-time web search and verifiable sources
Request Body
The conversation so far. Exactly one
user message is supported, e.g. [{"role": "user", "content": "Explain quantum computing"}].model enum<string> Model ID used to generate the response.
Default:
"brave-pro"Available options:
brave-probrave enable_entities boolean Whether to include inline entity tags in the answer. Requires
stream=true and is not supported in research mode. Default:
falseenable_citations boolean Whether to include inline citation tags in the answer. Requires
stream=true and is not supported in research mode. Default:
falseenable_research boolean Whether to answer with iterative deep research instead of a single search. Requires
stream=true. Default:
falseresearch_allow_thinking boolean Accepted for compatibility. Ignored by the mixer engine behind this API, which always runs research with extended thinking off.
Default:
trueResponses
400 Bad Request
Explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.
402 Payment Required
Explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.
403 Forbidden
Explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.
404 Not Found
Explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.
422 Unprocessable Entity
Explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.
429 Too Many Requests
Explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.