Skip to navigation

Preview a document as a PDF

View as Markdown

The same render as compose, streamed back as raw application/pdf bytes. It stores NOTHING: no file, no artifact, no timeline entry — the editor debounces this on every keystroke and a session must not fill up with drafts. Authorization: the same gate as every session route — work_session:read (or comment to write) on the session, OR space:contribute on one of its linked spaces; a desk session only for its owner. Any denial is 404.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

sessionIdstringRequired
artifactIdstringRequired

Request

This endpoint expects an object.
styleProfileIdstringOptional1-128 characters

Response

The rendered PDF.

Errors

400
Bad Request Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error