Tavily Research performs comprehensive research on a given topic by conducting multiple searches, analyzing sources, and generating a detailed research report.
Bearer authentication header in the form Bearer
Parameters for the Tavily Research request.
The research task or question to investigate.
"What are the latest developments in AI?"
The model used by the research agent. "mini" is optimized for targeted, efficient research and works best for narrow or well-scoped questions. "pro" provides comprehensive, multi-angle research and is suited for complex topics that span multiple subtopics or domains
mini, pro, auto Whether to stream the research results as they are generated. When ‘true’, returns a Server-Sent Events (SSE) stream
A JSON Schema object that defines the structure of the research output. When provided, the research response will be structured to match this schema, ensuring a predictable and validated output shape. Must include a 'properties' field, and may optionally include 'required' field.
{
"properties": {
"company": {
"type": "string",
"description": "The name of the company"
},
"key_metrics": {
"type": "array",
"description": "List of key performance metrics",
"items": { "type": "string" }
},
"financial_details": {
"type": "object",
"description": "Detailed financial breakdown",
"properties": {
"operating_income": {
"type": "number",
"description": "Operating income for the period"
}
}
}
},
"required": ["company"]
}
The format for citations in the research report.
numbered, mla, apa, chicago Research results returned successfully (when streaming)
Server-Sent Events stream containing research progress and results. Each chunk follows this structure:
Unique identifier for the stream event.
"123e4567-e89b-12d3-a456-426614174111"
Object type, typically 'chat.completion.chunk'.
"chat.completion.chunk"
The model used by the research agent.
"mini"
Unix timestamp when the event was created.
1705329000
Array containing the delta with event details.