Skip to main content

Read a bounded safe derived preview

GET 

/api/v1/documents/:document_id/preview

Only UTF-8 plain text or an explicitly registered integrity-checked AVIF/JPEG/PNG/WebP artifact is returned. Active PDF, HTML, and SVG are never embedded.

Request​

Responses​

Safe text or raster preview (text/plain, image/avif, image/jpeg, image/png, or image/webp)

Response Headers
    Content-Length

    Preview byte length

    Content-Type

    Safe preview media type

    X-Request-Id

    Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.