Skip to main content

Paragraph

Represents a paragraph of text from an Article in research and recommendation responses. The corresponding object for the Indexing API is ParaSpec.

Properties

PropertyRequiredTypeDescription
articleIdTrueStringID of the article containing this paragraph.
paragraphIdTrueStringUnique identifier of this paragraph within the API response.
typeTrueStringParagraph type (e.g., title, body).
textTrueStringThe plain-text content text of the paragraph.
languageFalseStringLanguage of the paragraph text.
metadataFalseMapAdditional metadata for the paragraph. This field contains values sent to the Indexing API in ParaSpec.metadata.