Get contents
Retrieve contents of documents based on a list of document IDs.
/contents
is used to instantly get content for documents, given the IDs of the documents.
Also note that “instant” is a little bit of a lie if you are using keyword search, in which case contents might take a few seconds to retrieve.
Get your Exa API key
Authorizations
Body
Array of URLs to crawl (backwards compatible with 'ids' parameter).
Extra parameters to pass.
Text snippets the LLM identifies as most relevant from each page.
Deprecated - use 'urls' instead. Array of document IDs obtained from searches.
Options for livecrawling pages. 'never': Disable livecrawling (default for neural search). 'fallback': Livecrawl when cache is empty (default for keyword search). 'always': Always livecrawl. 'auto': Use an LLM to detect if query needs real-time content.
never
, fallback
, always
, auto
The timeout for livecrawling in milliseconds.
The number of subpages to crawl. The actual number crawled may be limited by system constraints.
Keyword to find specific subpages of search results. Can be a single string or an array of strings, comma delimited.
Summary of the webpage
If true, returns full page text with default settings. If false, disables text return.