DeepResearch
Get DeepResearch task status and results
Retrieve the current status, progress, and results of a DeepResearch task. Poll this endpoint to track research progress and retrieve the final output.
get/v1/deepresearch/tasks/{id}/status
Request
- Base URL: https://api.valyu.ai
- URL: https://api.valyu.ai/v1/deepresearch/tasks/{id}/status
- Auth: API key in header X-API-Key
Path parameters
idstring required
DeepResearch task ID.
Response
Task status and results.
Example response
{
"deepresearch_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "completed",
"query": "Comprehensive analysis of CRISPR gene therapy clinical trials",
"mode": "standard",
"output_formats": [
"markdown",
"pdf"
],
"created_at": "2024-06-15T10:30:00.000Z",
"progress": {
"current_step": 5,
"total_steps": 15
},
"output_type": "markdown",
"sources": [
{
"title": "CRISPR Gene Therapy: A Comprehensive Review",
"url": "https://pubmed.ncbi.nlm.nih.gov/12345678/",
"fragment": "#:~:text=Revenue%20grew%2040%25%20to%20%245.2B"
}
],
"cost": 0.5,
"completed_at": "2024-06-15T10:35:00.000Z",
"images": [
{
"image_id": "img_a1b2c3d4e5f6",
"image_type": "chart",
"title": "Clinical Trial Phase Distribution",
"description": "Bar chart showing distribution of CRISPR trials across phases",
"image_url": "https://storage.valyu.ai/images/img_a1b2c3d4e5f6.png",
"created_at": 1718444520000,
"source_url": "https://example.com/dashboard",
"captured_at": 1718444520000,
"chart_type": "bar",
"x_axis_label": "Trial Phase",
"y_axis_label": "Number of Trials"
}
],
"deliverables": [
{
"id": "del_a1b2c3d4e5f6",
"request": "Extract all company names, founding years, and revenue data into a spreadsheet",
"type": "xlsx",
"status": "completed",
"title": "company_data.xlsx",
"description": "Spreadsheet containing 25 companies with founding years and revenue data",
"url": "https://storage.valyu.ai/deliverables/del_a1b2c3d4e5f6.xlsx?token=...",
"s3_key": "deliverables/org_123/del_a1b2c3d4e5f6.xlsx",
"row_count": 25,
"column_count": 5,
"created_at": 1718444640000
}
],
"interaction": {
"data": {
"questions": [
{
"question": "What geographic regions should the research focus on?",
"context": "The query mentions global markets — narrowing scope improves depth"
}
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.