PREPROD
ReaderAuthor

Skarn PDF

StoredDocument.sizeBytes

The byte length of the rendered PDF stored for this document.

1 min read · 1 depth levelstratum-pdf · vdevMatches production
Everyday

StoredDocument.sizeBytes is the size of the rendered PDF in bytes, captured from the render result when the document is persisted. It is returned in the store-mode render response and in every GET /api/documents listing, so a caller can show file sizes without downloading the bytes. A bulk DELETE /api/documents?dryRun=true sums this field across the matched rows into wouldDeleteBytes, and a real delete returns the reclaimed total as deletedBytes, letting an admin see how much storage a cleanup frees.

Was this helpful?