Answer

POST/answer

Listed by OrthogonalReliablePublished by ExaPublisher docs
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "exa",
"path": "/answer",
"method": "POST",
"body": {
"query": ""
}
}'

$0.01per call

Every call costs the same.

You aren't charged for failed calls. A wallet payment for a failed call is refunded.

API-wide: 100% success · 1,348 ms median · 30 days

About this endpoint

Get an LLM answer to a question informed by Exa search results. /answer performs an Exa search and uses an LLM to generate either: A direct answer for specific queries. (i.e. “What is the capital of France?” would return “Paris”) A detailed summary with citations for open-ended queries (i.e. “What is the state of ai in healthcare?” would return a summary with citations to relevant sources) The response includes both the generated answer and the sources used to create it. The endpoint also supports streaming (as stream=True), which will return tokens as they are generated. Alternatively, you can use the OpenAI compatible chat completions interface.

Body parameters

More from Exa

  1. Find similar linksPOST/findSimilar$0.01 per callFixed
  2. Get contentsPOST/contents$0.01 per callFixed
  3. SearchPOST/search$0.01 per callFixed
All 4 Exa endpoints