{"input_schema":{"type":"object","properties":{"query":{"type":"string","description":"The question to answer.","examples":["What changed in agent gateway pricing this year?"]},"model":{"type":"string","description":"How much research to do before answering.","enum":["exa","exa-pro","exa-research","exa-fast"],"default":"exa"},"text":{"type":"boolean","description":"Include the full page text of every citation.","default":false},"outputSchema":{"type":"object","description":"A JSON Schema; the answer comes back as an object matching it instead of prose."},"systemPrompt":{"type":"string","description":"Extra instructions for how to answer.","examples":["Answer in one sentence."]}},"required":["query"],"additionalProperties":true,"examples":[{"query":"What is an API gateway for agents?","model":"exa"}]},"output_schema":{"type":"object","description":"The answer, plus the citations behind it with their titles, URLs, and publication dates.","additionalProperties":true},"addons_schema":{"type":"object","additionalProperties":false},"capability_id":"exa.answer","session_compatible":true,"pricing_available":true,"id":"exa/answer","object":"endpoint","provider":"exa","endpoint":"answer","name":"Answer a question","summary":"Answer a question from live web sources, with citations.","description":"Accepts a question and returns a written answer grounded in pages found on the web, together with the citations it was built from. The model choice trades latency against depth. Supplying a JSON Schema turns the prose answer into a structured object matching that schema, which makes the endpoint usable as a typed extraction step, and a system prompt constrains tone, length, or format.","unit":"call","price_per_unit":"0.006","list_price_per_unit":"0.005","reports_cost":false,"input_fields":[{"name":"query","type":"string","required":true,"description":"The question to answer.","example":"What changed in agent gateway pricing this year?"},{"name":"model","type":"string","required":false,"description":"How much research to do before answering.","default":"exa","enum_values":["exa","exa-pro","exa-research","exa-fast"]},{"name":"text","type":"boolean","required":false,"description":"Include the full page text of every citation.","default":false},{"name":"outputSchema","type":"object","required":false,"description":"A JSON Schema; the answer comes back as an object matching it instead of prose."},{"name":"systemPrompt","type":"string","required":false,"description":"Extra instructions for how to answer.","example":"Answer in one sentence."}],"example_request":{"provider":"exa","endpoint":"answer","input":{"query":"What is an API gateway for agents?","model":"exa"}},"output":"The answer, plus the citations behind it with their titles, URLs, and publication dates.","limits":{"request_bytes":1000000,"timeout_ms":300000,"input_characters":null,"audio_bytes":null}}