- Supported regions: China North 2 (Beijing) only. Use an API key created in that region and
https://cn-beijing.maas.qwencloudapi.com. - The model supports only the DashScope Python SDK and the HTTP API. The Java SDK and the OpenAI compatible interface are not supported.
- To stream the response over HTTP, add the
X-DashScope-SSE: enablerequest header.
Call flow
Qwen-Deep-Research uses a two-step workflow:
- Follow-up question: Send the research topic. The model returns a clarifying question that helps narrow the scope.
- Deep research: Send the original question, the model's follow-up question, and your answer as a multi-turn conversation. The model runs deep research and generates a report.
parameters.enable_feedback to false to skip the first step and start research directly.
Streaming phases
After you enable streaming with the X-DashScope-SSE: enable request header, the response arrives in the following phases:
fininshed and fininshed_reason field names are spelled this way in the API response. Match the spelling exactly when you parse the response.
Related
For a usage example and guidance on when to use this model, see the guide.Authorizations
string
header
required
QwenCloud API key. See Get an API key.
Body
application/jsonenum<string>
required
Model name.
qwen-deep-research
object
required
Input information.
enum<string>
default"model_detailed_report"
Format and level of detail of the research report.
model_detailed_report(default): A complete, detailed deep research report of about 6,000 tokens.model_summary_report: A concise summary report of about 1,500-2,000 tokens that highlights the key findings.
model_detailed_report,model_summary_report
object
Model call parameters.
Response
200-application/json
integer
Request status code. 200 means success; any other value means failure. A failed call throws an exception whose message contains status_code and message.
string
Unique identifier of this call.
string
Error code. Empty when the call succeeds. Returned only by the Python SDK.
string
Error message. Empty when the call succeeds.
object
Result information.
object
Token usage for this request.