資料 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選填