Getting started
Install the exa-js SDKGet API Key
Follow this link to get your API key
search Method
The
options.type parameter accepts: "auto" (default), "fast", "deep-lite", "deep",
"deep-reasoning", or "instant". See
RegularSearchOptions for all available options.Input Example
Input Parameters
Return Example
Result Object
getContents Method
Retrieves contents of documents based on URLs.
Input Example
Input Parameters
Return Example
Result Object
answer Method
Input Example
Input Parameters
Return Example
Result Object
streamAnswer Method
Input Example
Input Parameters
Return Example
Result Object
Types Reference
This section documents the types used throughout the SDK.Content Options
These types configure content retrieval options for thecontents parameter.