Polling

tavily-cookbookResearchcookbooks

Research API: Polling

Use polling to track long-running research requests asynchronously.

What you'll learn:

  • Submit research requests with research()
  • Poll for results with get_research(request_id)
  • Handle status states: pending, in_progress, completed, failed

Setup

[ ]
[ ]
[ ]

Submit Research Request

Returns a request_id for tracking progress.

[ ]

Poll for Results

Check status until completed or failed.

[ ]
[ ]

Next Steps