Skip to content

API: Deep Research

Prompt in, agent container runs, result page plus files out. Unlisted links, noindex.

Every HTML route returns JSON with Accept: application/json. Authentication: session cookie, X-API-KEY, Authorization: Bearer or Basic.

GET/researchguest
Research form

Launch form with live progress and result tabs.

curl -X GET -H 'Accept: application/json' 'http://molodetz.nl/research'
POST/researchguest
Launch research

Queues a disposable-agent job. Signed-in accounts may launch by default; key mode needs X-API-Key header or key field instead. Answers 202 plus the job, or 200 plus X-Cache: HIT on a fresh cache hit.

FieldTypeLocationRequired
promptstringbodyyes
keypasswordbodyno
optionsobjectbodyno
curl -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"prompt": "Summarize the state of sodium batteries"}' 'http://molodetz.nl/research'
GET/research/mineguest
My research

Lists the caller jobs, newest first.

curl -X GET -H 'Accept: application/json' 'http://molodetz.nl/research/mine'
GET/research/{uid}guest
Research page

Result or progress state. Unknown uids 404, expired jobs 410.

curl -X GET -H 'Accept: application/json' 'http://molodetz.nl/research/{uid}'
GET/research/{uid}/statusguest
Research status

Small polling object: status, latest progress, error.

curl -X GET -H 'Accept: application/json' 'http://molodetz.nl/research/{uid}/status'
GET/research/{uid}/eventsguest
Research events

Server-sent stream: started, progress, artifact, then done, partial, or failed. Heartbeat every 15s, resumes on Last-Event-ID.

curl -X GET -H 'Accept: application/json' 'http://molodetz.nl/research/{uid}/events'
GET/research/{uid}/download/{kind}guest
Download result

kind is md, html, or zip. ZIP members are flat websafe names.

curl -X GET -H 'Accept: application/json' 'http://molodetz.nl/research/{uid}/download/{kind}'
GET/research/{uid}/files/{name}guest
Download file

One published artifact. Images inline, everything else as attachment.

curl -X GET -H 'Accept: application/json' 'http://molodetz.nl/research/{uid}/files/{name}'
11.3ms