Skip to main content
Beta: The Research API is available to everyone while in beta. Contact support if you encounter any bugs.

Stream the Final Report

Set stream: true and concatenate synthesis_delta values for live report text. The final assembled report is also included in final_result.

Reconnect to a Run

events() attaches to a run that is already running, replays its saved events, and follows it until done. Pass the last event id you saw to resume without replaying. Stopping the loop detaches without cancelling the run.

Restrict Research to Trusted Domains

Use include to prioritize domains while retaining other results. Use exclusive to restrict results to the allowlist. Blocked domains are always removed. Each list accepts at most 150 entries.

Continue Research

Use the session_id emitted by a run to continue its conversation.
Use prior_run_id instead to seed a new run with a completed report and its evidence.

Retrieve Saved Runs

Pass page.pagination.next_cursor as cursor to get the next page.

Cancel a Running Run

A run that already finished returns its status with cancelled: false.