Data API / Exa / Contents
Extract full page contents for a set of URLs.
Fetch page text and metadata for URLs you already have. ids is required and takes the id values from post_exa_search — which are plain URLs, so any URL works. Toggle text, highlights, summary, subpages and livecrawl. Returns results[] with id, title, url, author and text, plus a statuses[] array giving per-URL status and source — read it, because a URL that could not be fetched is reported there rather than raising. Cached results are served instantly; a miss falls back to a live crawl. For a whole site rather than a URL list, post_firecrawl_crawl.
Параметры
Параметров пути, запроса и заголовков нет.
Тело запроса
idsstring[]ОбязательныйThe URLs (or Exa result ids) to fetch contents for.
textbooleanНеобязательныйReturn the full page text.
highlightsbooleanНеобязательныйReturn highlighted relevant snippets.
summarybooleanНеобязательныйReturn an AI-generated summary of the page.
subpagesintegerНеобязательныйNumber of linked subpages to also fetch.
livecrawlstringНеобязательныйДопустимые значения: always · fallback · never
Freshness policy: always live-crawl, fall back to live crawl on cache miss, or never live-crawl.
Пример запроса
curl -X POST "https://openapi.felo.ai/v1/beta/exa/contents" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ids": [
"<string>"
],
"text": false,
"highlights": false,
"summary": false,
"subpages": 0,
"livecrawl": "<string>"
}'Ответ
Поля ответа
requestIdstringНеобязательныйresultsobject[]НеобязательныйtitlestringНеобязательныйurlstringНеобязательныйpublishedDatestringНеобязательныйauthorstringНеобязательныйidstringНеобязательныйtextstringНеобязательныйhighlightsstring[]НеобязательныйsummarystringНеобязательный