Skip to main content
POST
Retrieve parsed document content

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Headers

cdf-version
string

cdf version header. Use this to specify the requested CDF release.

Example:

"alpha"

Body

application/json

Fields to be set for the content request.

id
integer<int64>
required

A server-generated ID for the object.

Required range: 1 <= x <= 9007199254740991
granularity
enum<string>
default:words

Adjust the level of detail in the response.

Available options:
words,
elements,
lines

Response

Parsed textual content for the document

elements
DocumentElementWithElementGranularity · object · DocumentElementWithElementGranularity · object · DocumentElementWithElementGranularity · object · DocumentElementWithElementGranularity · object · DocumentElementWithElementGranularity · object · DocumentElementWithLineGranularity · object · DocumentElementWithLineGranularity · object · DocumentElementWithLineGranularity · object · DocumentElementWithLineGranularity · object · DocumentElementWithLineGranularity · object · DocumentElementWithWordGranularity · object · DocumentElementWithWordGranularity · object · DocumentElementWithWordGranularity · object · DocumentElementWithWordGranularity · object · DocumentElementWithWordGranularity · object[]
required

A title in a document. A title can consist of one or more lines of text.

Last modified on October 7, 2026