Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Exa Answer API

The Answer API from Exa — 1 operation(s) for answer.

Exa Answer API is one of 19 APIs that Exa publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Answer. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 1 operation across 1 path, and defines 5 schemas. It is described by OpenAPI 3.1.0, at version 2.0.0.

Requests are made against a single base URL, https://api.exa.ai.

1 operations 1 paths 5 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0.0
Base URL
https://api.exa.ai
Authentication
API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Exa Answer API declares 2 security schemes for authenticating requests. An API key is passed in the header as x-api-key (apiKey). It accepts HTTP bearer tokens (bearer). By default, every request must be authenticated.

  • apiKey — Pass your Exa API key in the x-api-key header. You can also authenticate with Authorization: Bearer .
  • bearer — Pass your Exa API key in the x-api-key header. You can also authenticate with Authorization: Bearer .

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Answer 1
POST
/answer
Answer
answer body → 200

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are AnswerResponse (4 properties), AnswerRequest (4 properties), CostDollarsOutput (2 properties). Each schema is shown below with its type and property counts.

CostDollarsOutput
object
Endpoint-dependent estimated dollar cost breakdown for the completed request. Billing is computed from usage counters rather than this response object.
2 properties
AnswerStreamChunk
Schema for each JSON payload emitted in an /answer server-sent event stream. Each event is emitted as data: .
AnswerRequest
object
4 properties 1 required
AnswerResponse
object
4 properties 1 required
JsonValue
Any JSON value.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

exa-ai-answer-api-openapi.yml Raw ↑

Other APIs Exa publishes across the network.

Exa Agent API
Exa Contents API
Exa Enrichments API
Exa Events API
Exa Imports API
Exa Items API
Exa Monitors API
Exa Monitors Runs API
Exa Research API
Exa Runs API
Exa Search API
Exa Searches API