Start research task
Starts a deep research task that runs multiple searches, reads sources, and synthesizes an answer with citations.
Synchronous mode (default)
When background is false or omitted, the request blocks until the research completes and returns the answer with citations. This can take up to 120 seconds depending on research_effort.
Asynchronous mode
When background is true, the request returns immediately with a task_id and status: pending. Poll GET /web_search/research/{task_id} to check when the research completes and retrieve the answer.
Authorizations
Telnyx API key
Body
The research question or topic.
1 - 2000"Compare the performance of RAG vs fine-tuning for domain-specific QA"
Research depth level. lite is fastest, deep is most thorough.
lite, standard, deep "standard"
Maximum number of sources to use.
1 <= x <= 5020
When true, the research runs asynchronously. The response returns a task_id immediately instead of waiting for the result. Poll GET /web_search/research/{task_id} to check status.
false
Response
Research response. Shape depends on background:
- Synchronous (
backgroundfalse/unset): returnsanswer+citations. - Asynchronous (
backgroundtrue): returnstask_id+status.
Synchronous research response (when background is false or unset).
- Option 1
- Option 2