← Back to Tavily
POST/research

Create Research Task

Tavily Research performs comprehensive research on a given topic by conducting multiple searches, analyzing sources, and generating a detailed research report.

Tavily·$0.5 per call

Example code

// Using @orth/sdk - The simplest way to call APIs // Install: npm install @orth/sdk import Orthogonal from "@orth/sdk"; const orthogonal = new Orthogonal({ apiKey: process.env.ORTHOGONAL_API_KEY, }); const output = await orthogonal.run({ api: "tavily", path: "/research", body: { "input": "example" } }); console.log(output);

Body parameters

inputrequired
string

The research task or question to investigate.

model
enum<string>

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

stream
boolean

Whether to stream the research results as they are generated. When 'true', returns a Server-Sent Events (SSE) stream. See Streaming documentation for details.

output_schema
object

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.

citation_format
enum<string>

The format for citations in the research report.

Response

input
string
model
string
status
string
created_at
string
request_id
string
response_time
number
    Orthogonal - Giving AI agents the tools they need.