Felo API PlatformFelo API Platform

데이터 API / Exa / Answer

Get a direct, cited answer to a question.

Ask a question and get a written answer with citations. query is required; text includes the source text and outputSchema shapes a structured reply. Returns requestId, answer as prose, citations[] with id, title and url, and costDollars.

파라미터

경로, 쿼리, 헤더 파라미터가 없습니다.

요청 본문

  • querystring필수

    The question to answer.

  • textboolean선택

    Include the full page text of each citation.

  • typestring선택

    허용 값: auto · fast · instant · deep-lite · deep · deep-reasoning

    Retrieval mode used to gather sources before answering.

  • outputSchemaobject선택

    JSON Schema for a structured answer output.

요청 예시

curl -X POST "https://openapi.felo.ai/v1/beta/exa/answer" \
  -H "Authorization: Bearer $FELO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "<string>",
  "text": false,
  "type": "<string>",
  "outputSchema": {}
}'

응답

응답 필드

  • requestIdstring선택
  • answer선택

    The generated answer. A string, or a structured object when outputSchema was supplied.

  • citationsobject[]선택

    Sources supporting the answer.

  • idstring선택
  • urlstring선택
  • titlestring선택
  • authorstring선택
  • publishedDatestring선택
  • textstring선택
  • costDollars선택

    Upstream Exa cost breakdown. Informational only; customer billing is the flat $0.08.