Get Research Task
Tavily
Tavily
Get Research Task
Retrieve the status and results of a Tavily Research task by its request_id. Returns 202 with status 'pending' or 'in_progress' while the task runs, and 200 with status 'completed' (includes content and sources) or 'failed' when done. Use statusCode and body.status for flow branching.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
request_id | text | Required | The unique research task ID returned by create_research. |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code: 202 while pending/in_progress, 200 when completed or failed |
body | object | Research task state. Check body.status: 'pending', 'in_progress', 'completed', or 'failed'. content and sources are only present when status is 'completed'. |
request_id | text | Unique identifier of the research task |
status | text | Current status of the research task. Completed 200 responses use 'completed'; polling may also return 'pending' or 'in_progress', and failed tasks return 'failed'. |
created_at | text | Timestamp when the task was created (ISO 8601). |
content | text | The research report content. Tavily may return a string or a structured object when output_schema was provided; this field is modeled as text for standard report content. |
sources | array of object | Sources used in the research report. |
title | text | Title or name of the source |
url | text | URL of the source |
favicon | text | Favicon URL of the source |
response_time | number | Time in seconds it took to complete the request |