API reference · Research

POST /v1/research

Run a multi-step research loop and return a cited synthesized answer.

Endpoint

POSThttps://chat-api.you.com/research

Request body

FieldTypeDescription
queryrequiredstringThe research question.
depthenumshallow | standard | deep — controls how many subqueries the planner runs.
default: standard
include_tracebooleanReturn the planner's intermediate reasoning steps.
default: false

Response

JSON
{
  "answer": "string (markdown)",
  "citations": [
    { "title": "string", "url": "string", "snippet": "string" }
  ],
  "trace": [{ "step": "string", "...": "..." }]
}