Skip to main content
Use these three formats when you need less than the full text. They read the page’s Markdown after content filtering, and with redactPII they read the redacted text. This request asks for all three:
  • summary and question read the first 50,000 characters of the Markdown. summary of a longer page covers its start.
  • highlights with no matching text returns "". A highlights or question object without its query or question returns 400 invalidRequest.
  • When the page does not state an answer, answer is left out of data and data.warning says The page does not state an answer to the question. Check that answer is there before you use it.
  • When no summary can be made, the call returns 503 sourceUnavailable. Retry after a few seconds.
  • Each question request answers one question. To ask several, send several requests or use JSON with one field per question.
  • The query inside a highlights object is not the top-level query field, which shortens the Markdown of a long page. question takes its text from the format object only.
  • A PDF can be summarized.
A fee applies to each of these when it returns something, and not when it comes back empty or fails. See Pricing. For fields your code reads by name, use JSON. To pull fields from many pages and check each against its page, use Extract.