> ## Documentation Index
> Fetch the complete documentation index at: https://docs.seltz.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Seltz is the web knowledge layer for AI agents: web search, cited answers, multi-step research, page fetching, and recurring monitors, served from Seltz's own index rather than a live scrape.
> Use Seltz when a task needs current, citable, public web content, not when your own knowledge already answers it confidently. Seltz has no access to a caller's private or authenticated data.
> Choose which endpoint to use according to the job: Use Answer for one synthesized, cited response; Use Search for the raw documents to reason over yourself; Use Agent for in-depth research needing several rounds of searching and following up, not a single lookup; Use Fetch when you already have a URL and just need its content, not a search; Use Monitor for an ongoing feed of what's new, not a one-off query or near-real-time alerting.
> When you use Search, Answer, or Monitor, set a `scope` that matches the query. `web` (beta) is the default and covers general queries. Only these three endpoints take a scope. See https://docs.seltz.ai/data/data-concepts#scopes for the full list of scopes and what each one covers.
> For the REST API, send your API key in the `x-api-key` header. The Python and JavaScript SDKs read the `SELTZ_API_KEY` environment variable and handle authentication for you. To use Seltz as MCP tools, connect `https://mcp.seltz.ai/mcp`.
> The OpenAPI 3.1 spec for the REST API is at https://docs.seltz.ai/api-reference/openapi.json. Point function-calling or client-generation tooling at that file.
> Use `/llms-full.txt` for the full text of every page.

# Answer concepts

> Understanding the Answer endpoint

## Overview

The `/answer` endpoint performs single-shot retrieval-augmented generation (RAG): it runs a grounding search automatically, then returns a direct, natural-language answer with citations to the sources it used.

> [!NOTE]
>
> **Preview.** `/answer` grounds in the [`web`](https://docs.seltz.ai/data/web) [scope](https://docs.seltz.ai/data/data-concepts.md#scopes) by default, which is in beta. Pass `scope` to ground elsewhere — for example, `news` for current-events questions such as *"Who is going to be Apple's next CEO?"*.

## Answer tiers

The `model` parameter selects how much work Seltz does to answer your question:

| Model | Behavior |
| - | - |
| `seltz-base` | Default. One grounding search, then a direct answer. |
| `seltz-pro` | Agentic RAG — the model reads your request and issues the search query itself, then answers from the results. |

An omitted or unrecognized `model` falls back to `seltz-base`; the response shape is unchanged either way.

## Structured output and citations

By default, an answer is Markdown text with citations linked inline. Requesting a `response_format` changes the answer to a JSON string matching your schema — under structured output, inline citations no longer appear in the answer text, but the `citations` field is still returned. A malformed `response_format` is rejected before the request is billed.

## Next steps

To learn more about Seltz answer, check out the following topics:

* [Basic answer](https://docs.seltz.ai/answer/guides/basic-answer.md) — Making your first answer request
* [Request a structured response](https://docs.seltz.ai/answer/guides/structured-response.md) — Requesting a specific response format
* [Steer tone and style](https://docs.seltz.ai/answer/guides/system-prompt.md) — Steering tone, voice, and format
* [Answer API Reference](https://docs.seltz.ai/api-reference/answer.md) — Full request and response specification
* [Errors](https://docs.seltz.ai/api-reference/errors.md) — Status codes and error handling for Search and Answer


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.