Felo API PlatformFelo API Platform

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