Skip to main content
POST
Reference example
Ask a question and get a written answer with citations. query is required; text includes the source text and outputSchema shapes a structured reply. Returns requestId, answer as prose, citations[] with id, title and url, and costDollars. Measured at 2.1 seconds with 8 citations. Pricing depends on the actual request and response-derived usage; obtain a fresh quote for your request and check the final charge. It sits between a search and a research run: faster and cheaper than post_exa_agent_runs, and more direct than reading post_exa_search results yourself. post_perplexity_sonar answers the same shape of question — reach for Exa when the retrieval needs to be semantic.
First time? Point any MCP client at https://mcp.aisa.one/mcp — Claude Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client opens a browser, you click Allow once, and there is no key to paste. Your agent then reaches every endpoint through a few meta tools: search, list_categories, get_details and batch_quote are free, batch_use is billed per call. Setup per client is in Connect via MCP; the live tool list and what each call costs are on aisa.one/mcp.
Set this endpoint up in your agent →

Request contract

  • Method and path: POST /apis/v1/exa/answer
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/exa/answer
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
query
string
required

The question to answer.

Example:

"Which manufacturers had the top three global EV sales in 2025?"

outputSchema
object

JSON Schema for a structured answer output.

stream
enum<boolean>
default:false
Available options:
false
text
boolean

Include the full page text of each citation.

type
enum<string>

Retrieval mode used to gather sources before answering.

Available options:
auto,
fast,
instant,
deep-lite,
deep,
deep-reasoning

Response

Answer generated successfully.

answer
any

The generated answer. A string, or a structured object when outputSchema was supplied.

citations
object[]

Sources supporting the answer.

costDollars
any

Upstream Exa cost breakdown. Informational only; it is not the AIsa customer charge. Use a fresh quote for the actual request.

requestId
string