Search a live site
Search a site right now. Returns a job, or a stream of events.
Reads the site live: its homepage first and, when that is not enough, the sections most likely to cover the
topic and the site’s own search box, in parallel. It can take up to a minute, so it responds
202 Accepted with a job and a Location header.
With stream: true it responds with Server-Sent Events instead.
Body
sitestringrequiredThe live site to search: a domain such as
lanacion.com.ar, or a URL.querystringrequiredWhat to look for on the site. 2–200 characters.
sectionsstring[]Only these sections: the section the source declares, or the first segment of the path (
economia).exclude_domainsstring[]Never these domains or paths, up to 20. Same matching rules as
include_domains.modeenum<string>Default:"normal"ultrajudges headlines only and is the cheapest ·fastjudges headlines and standfirsts ·normalalso reads the top results to confirm them ·deepjudges the whole index and reads more.max_resultsintegerDefault:10How many results to return, 1–50.
highlightsbooleanReturn verbatim excerpts (up to 280 characters) from the articles that were read. Defaults to
trueindeepandfalseotherwise.dedupebooleanDefault:falseCollapse the same story told by several outlets into a single result, listing the others in
duplicates.tonebooleanDefault:falseClassify each result as positive, neutral or negative relative to the query, and summarise it by source.
essentialbooleanReturn up to three verbatim excerpts from different sources that capture the story. Defaults to
trueindeep.questionsmap<string, …>Structured output: up to 8 typed questions (
boolean,choiceorscore) answered on every result, keyed by a name you choose.max_tokensinteger | nullA hard cap on model tokens for this request, minimum 2000. If it is reached, you get everything judged so far with
incomplete: true.freshbooleanDefault:falseSkip the result cache. Otherwise, an identical request within 10 minutes is served from cache at no cost.
streambooleanDefault:falseSend Server-Sent Events instead of creating a job.
Response
202 Accepted with a job. See GET /v1/jobs/{id} for its fields.