Skip to main content
POST
Research a question, reported as it happens

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer enc_…. A dashboard session cookie works on the same route.

Body

application/json
question
string
required

What to research. query is accepted as an alias.

Maximum string length: 1000
Example:

"how do solid state batteries differ from lithium ion in practice"

depth
integer
default:2

Rounds of search-and-read. Round one searches what the question obviously needs; each round after asks what is still missing and searches for that. A round may end the report early by finding nothing missing, which is a correct answer rather than a shortcut.

Required range: 1 <= x <= 3
max_sources
integer
default:24

How many pages may be cited.

Required range: 1 <= x <= 24
freshness
enum<string>

Restricts every search behind the report.

Available options:
any,
day,
week,
month,
year
lang
string

Response

A server-sent event stream.

One frame of the stream. Which fields are present depends on type.

type
enum<string>
required
Available options:
started,
planned,
searched,
sources,
writing,
delta,
done,
error
round
integer

On planned and searched.

questions
object[]

On planned: the sub-questions this round will search.

step
object

On searched: the sub-question that just finished.

sources
object[]

On sources: everything gathered so far, renumbered.

text
string

On delta: a fragment of the answer.

report
object

On done: the finished report. This one is the authority.

message
string

On error: a sentence explaining why there will be no report.

Last modified on September 24, 2026