Search and research
Unified surface for retrieval-style models: Exa, Tavily,
Linkup, Perplexity Search. Each model has a different parameter
surface; see the per-model docs for the full schema (e.g.
exa-search exposes 43 params including search_type, category,
user_location, output_schema, max_age_hours, subpages,
summary_query, code_tokens). With output_schema, an
exa-search response also carries output, a synthesized answer
with the sources for each field.
Authentication
Pass your EmpirioLabs API key as a bearer token. The Anthropic-style
x-api-key header is also accepted on every endpoint.
Request
Search model id, for example tavily-search or exa-search.
Response
Sources / answer / structured data depending on model.
The results. On exa-search each has title, url, id, score, published_date, author and favicon, and when present image, text, highlights, summary, subpages, entities (company, person or publication data) and extras (the links, images and code blocks a request asks for).
A synthesized answer when the model returns one. On exa-search: the text of output (an object output as a JSON block, left out with disable_formatting), or the code context of operation: code.
exa-search with output_schema: the synthesized content, text or an object matching the schema, and the grounding of each field.
exa-search: notes on how the results were produced, written to be passed to a model with them, such as RESTRICTIONS_RELAXED when a site or exact-phrase restriction in the query matched nothing.
