Sourced answer to a question, with citations.
Performs a search based on the query and generates either a direct answer or a detailed summary with citations, depending on the query type.
Job web.answer
telipot run exa.web.answer \
--input-json '{"query":"What is the capital of France?"}' \
--quotePrice
$0.005 / requestPriced· before it runs
exa.web.answer
$0.005 / requestYour plan
Whose account it uses
1The person asking
not needed2Your company’s Exa plan
Selected identity for this example3Our account
not usedWhat it sends
{
"query": "What is the capital of France?"
}Your Exa login is added for you. Your AI never sees it.
What it costs
$0.005
per request · billed per call
| rate | $5 per 1,000 requests, billed per call |
| source | docs · exa.ai/docs/admin/pricing · checked 2026-10-05 |
| confidence | documented |
| settles on | The charge Exa reports in costDollars.total |
| note | The pricing page lists one rate for /answer and does not say whether model changes it. |
Preview the price first. --quote runs nothing.
For developers · run it
Shell · runs the task on the named account
telipot run exa.web.answer \
--input-json '{"query":"What is the capital of France?"}'query string · required · at least 1 | Natural-language question or instructions for the request. |
text boolean · default false | If true, returns full page text with default settings. If false, disables text return. Each citation has a text field. |
model string · one of "exa", "exa-pro", "exa-research", "exa-fast" · default "exa" | The model used to generate the answer. |
systemPrompt string | Additional instructions that guide generated output, such as source preferences, novelty constraints or duplication constraints. |
outputSchema object | A JSON Schema Draft 7 specification for the desired answer structure. When given, the answer is returned as a structured object matching the schema instead of a plain string. |
userLocation string | The two-letter ISO country code of the user. |
requestId string | |
answer string | object | A string by default, or an object matching outputSchema when one was given |
citations object[] | Search results used to generate the answer |
costDollars object | Estimated dollar cost of the completed request; billing is computed from usage counters, not from this object. |
Full output schema · JSONNested fields and constraints
Output JSON Schema
{
"type": "object",
"required": [
"answer"
],
"properties": {
"requestId": {
"type": "string"
},
"answer": {
"type": [
"string",
"object"
],
"description": "A string by default, or an object matching outputSchema when one was given"
},
"citations": {
"type": "array",
"description": "Search results used to generate the answer",
"items": {
"type": "object",
"required": [
"title",
"url"
],
"properties": {
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"id": {
"type": "string"
},
"publishedDate": {
"type": "string"
},
"author": {
"type": [
"string",
"null"
]
},
"image": {
"type": "string"
},
"favicon": {
"type": "string"
},
"text": {
"type": "string"
}
}
}
},
"costDollars": {
"type": "object",
"description": "Estimated dollar cost of the completed request; billing is computed from usage counters, not from this object.",
"properties": {
"total": {
"type": "number"
},
"search": {
"type": "object",
"properties": {
"neural": {
"type": "number"
},
"keyword": {
"type": "number"
}
}
},
"summary": {
"type": "number"
},
"contents": {
"type": "object",
"properties": {
"text": {
"type": "number"
},
"highlights": {
"type": "number"
},
"summary": {
"type": "number"
}
}
}
}
}
}
}A real answer
examples/exa.web.answer.json
{
"requestId": "c178943a8165d7ce25595eca437939ce",
"answer": "Paris is the capital of France [1].",
"citations": [
{
"id": "https://www.britannica.com/place/Paris",
"title": "Paris | Definition, Map, Population, Facts, & History | Britannica",
"url": "https://www.britannica.com/place/Paris",
"publishedDate": "1998-07-20T00:00:00.000Z",
"image": "https://cdn.britannica.com/36/135436-050-ED1D0FCE/skyline-Eiffel-Tower-France-Paris.jpg"
},
{
"id": "https://en.wikipedia.org/wiki/Paris",
"title": "",
"url": "https://en.wikipedia.org/wiki/Paris",
"author": "user"
}
],
"costDollars": {
"total": 0.005
}
}
