Skip to main content
The Rust SDK is in alpha. Interfaces may change between releases; check the crate version before upgrading.
The Answer API searches relevant sources and synthesizes a cited answer in one call.

Basic usage

Keep the returned source URLs with the answer so users can inspect the evidence. Citations identify sources; they do not establish that every generated claim is correct.

Common patterns

Use the AnswerRequest builder for anything beyond a plain question, then call client.answer(&request):
For open-ended, multi-step work, reach for DeepResearch instead of Answer.

Reference

query (impl Into<String>, required) - the question to answer.