Skip to content

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_idtextRequiredThe unique research task ID returned by create_research.

Outputs

Name Type Description
statusCodenumberHTTP status code: 202 while pending/in_progress, 200 when completed or failed
bodyobjectResearch task state. Check body.status: 'pending', 'in_progress', 'completed', or 'failed'. content and sources are only present when status is 'completed'.
request_idtextUnique identifier of the research task
statustextCurrent status of the research task. Completed 200 responses use 'completed'; polling may also return 'pending' or 'in_progress', and failed tasks return 'failed'.
created_attextTimestamp when the task was created (ISO 8601).
contenttextThe 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.
sourcesarray of objectSources used in the research report.
titletextTitle or name of the source
urltextURL of the source
favicontextFavicon URL of the source
response_timenumberTime in seconds it took to complete the request