Run research
Execute a source-backed research report with SSE streaming. Returns a comprehensive report with citations from web sources. Supports standard, deep, and max research modes.
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: "tinyfish/agent",
path: "/v1/automation/run-research",
body: {
"query": "example"
}
});
console.log(output);Body parameters
Research question
Depth: standard, deep (default), or max (enables browser agents)
Emit report text through synthesis_delta events as written
BCP 47 language tag for the report (e.g. en, es, ja)
Max mode only. Defaults true in max mode.
Allow relevant social and community sources
Source pool to research over
Include results on or after this date (YYYY-MM-DD)
Include results on or before this date (YYYY-MM-DD)
Include results from the last N minutes (1-5256000)
Domain preferences with include/exclude lists (max 150 entries each)
Seed this run with a completed report and its evidence
Continue a standard-mode session. Mutually exclusive with prior_run_id.