Create an Agent Research Object
Start a new research job using a token-aware request/response shape for agents.
Set stream=true to reuse the research SSE event stream.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
stream
When true, responds with an SSE stream of research events.
Request
This endpoint expects an object.
query
Primary research question.
files
IDs of previously uploaded files to include.
reasoning_mode
When enabled, uses an advanced reasoning model for deeper analysis.
excluded_domains
List of domains to exclude from search results.
Response
Research created or event stream started.
id
Research job identifier.
status
Current status of the research job:
queued: Job accepted, waiting to startsearching: Gathering sources from the webresearching: Processing and analyzing sourcesanalyzing: Deep analysis of gathered informationsummarizing: Generating final synthesiscompleted: Research finished successfullyfailed: Research encountered an error
Errors
400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
500
Internal Server Error