Skip to main content
POST
The deep_search parameter enables a more extensive search. It is only applied in search mode. The timeout parameter is applied in the search, staan_context and staan_full modes.

Web search modes

The optional mode parameter selects which underlying search engine handles the request: All modes return a list of results, each with a url, metadata, and content. If mode is omitted, the tenant’s configured default is used, falling back to search if no default is set.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
queries
string[]
required

List of search queries

Example:
count
integer
default:10

Maximum number of results to return

Required range: x >= 1
Example:

10

sites
string[] | null

List of specific sites to search

Example:
timeout
integer
default:10

Timeout for the search in seconds

Required range: x >= 1
Example:

10

Whether to perform a deep search

Example:

false

mode
enum<string> | null

Web search endpoint to use: search (Brave, streaming), context (Brave LLM context), perplexity, staan_context (staan.ai, relevance-scored passages) or staan_full (staan.ai, whole pages as markdown). Omit to use the tenant default.

Available options:
search,
context,
perplexity,
staan_context,
staan_full
Example:

"search"

Response

Successful Response