Skip to main content
POST
Route

Authorizations

Authorization
string
header
required

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

Body

application/json
query
string
required

The request, as free text: the tool's input (a search's query, a browse's task, the URLs in it for extract).

Maximum string length: 10000
Pattern: [^\s\x00-\x1f\x7f-\x9f\xad\u0600-\u0605\u061c\u06dd\u070f\u0890\u0891\u08e2\u180e\u200b-\u200f\u202a-\u202e\u2060-\u2064\u2066-\u206f\ufeff\ufff9-\ufffb]
Example:

"Jensen Huang"

optimized_for
enum<string> | null

What to favour: speed, cost or coverage. Unset or empty is balanced.

Available options:
speed,
cost,
coverage,
balanced
budgets
Budgets · object | null

What answering may spend. Unset sets no limit.

Response

Successful Response

Exactly one of result and job is set; the other is null.

plan
Plan · object
required

The one-step plan the route ran.

result
SearchResponse · object
required

The result of one search, tagged with the provider that served it.

job
StartedJob · object | null
required

The job a research or browse started, to poll by its job_id; null when result is set.