Export
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
- See Streaming for real-time progress updates
- See Structured Output for custom response schemas