Seltz answer API

Answer operations

Operations 1

POST /v1/answer Answer a query with RAG over search results #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/seltz-answer-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

seltz-answer-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Seltz Answer API
  description: 'REST API for the Seltz platform: context retrieval (`/v1/search`) and RAG answers (`/v1/answer`).'
  contact:
    name: Seltz API Support
    url: https://seltz.ai/contact
  license:
    name: Seltz Terms of Use
    url: https://seltz.ai/terms
  version: 1.3.0
servers:
- url: https://api.seltz.ai
  description: Seltz API
tags:
- name: answer
  description: Answer operations
paths:
  /v1/answer:
    post:
      tags:
      - answer
      summary: Answer a query with RAG over search results
      operationId: answer
      parameters:
      - name: x-api-key
        in: header
        description: 'Seltz API key: https://console.seltz.ai/api-keys'
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnswerHttpRequest'
            example:
              query: Who is reported to be Apple's next CEO?
        required: true
      responses:
        '200':
          description: Answer for the query. When `stream = false` the body is a JSON `AnswerHttpResponse`; when `stream = true` it is a `text/event-stream` of OpenAI-style chunks.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnswerHttpResponse'
            text/event-stream: {}
        '400':
          description: Missing or malformed request fields.
        '401':
          description: Invalid or missing API key.
        '404':
          description: Endpoint not found.
        '429':
          description: Rate limit exceeded. Wait before retrying.
        '500':
          description: Unexpected server error.
components:
  schemas:
    HttpCitation:
      type: object
      description: HTTP-shape citation. Mirrors the `Citation` proto.
      required:
      - url
      properties:
        content:
          type:
          - string
          - 'null'
          description: Document content text (only when `include_content = true`).
        url:
          type: string
          description: URL of the source document.
    AnswerHttpRequest:
      type: object
      description: JSON request body for `POST /v1/answer`.
      required:
      - query
      properties:
        api_key:
          type:
          - string
          - 'null'
          description: 'API key. Either this or the `x-api-key` header must be supplied;

            the header takes precedence.'
        include_content:
          type: boolean
          description: When true, citations carry the document content text. Default false.
        model:
          type:
          - string
          - 'null'
          description: 'Optional tier selector (e.g. `seltz-base`). Selects the answer tier

            (behavior + billing). Omitted or unrecognized → default tier (base),

            no error. Orthogonal to `scope`; the response shape is unchanged.'
        query:
          type: string
          description: The natural-language question.
        scope:
          type:
          - string
          - 'null'
          description: 'Optional search scope. When set to a configured scope (e.g. `news`),

            the grounding search runs against that scope''s planner. Omitted, empty,

            or whitespace-only → default planner. Any non-empty value is forwarded

            verbatim to the underlying search.'
        stream:
          type: boolean
          description: When true, stream the answer as OpenAI-mimic SSE chunks. Default false.
    AnswerHttpResponse:
      type: object
      description: Buffered JSON response body for `POST /v1/answer`.
      required:
      - answer
      - citations
      properties:
        answer:
          type: string
          description: 'Markdown answer text. Inline citations follow the form

            `text ([Source Name](url))`.'
        citations:
          type: array
          items:
            $ref: '#/components/schemas/HttpCitation'
          description: Citations referenced by the answer.