Skip to main content
The document preview API lets you generate visual previews of documents stored in CDF. You can retrieve PDF previews of documents, get image previews of individual pages, and generate temporary links for preview access.

Use cases

Document preview is useful for embedding document viewing in applications, displaying thumbnails in search results, and providing quick access to document content without downloading full files. Preview links are temporary and suitable for secure, time-limited access.

Supported formats

The API supports preview generation for common document types. PDF outputs are available for documents that can be converted. Individual pages can be retrieved as images for custom rendering.
Use temporary links for preview access in web applications. Links expire after a configured period for security.

Key capabilities

  • PDF previews of documents
  • Image previews of individual pages
  • Temporary links for preview access
  • Page-level retrieval for custom layouts
Last modified on April 23, 2026