StoredDocument.storagePath is the key under which the PDF bytes are written to the storage backend (local disk or S3/R2). The row is first created with an empty storagePath, the bytes are uploaded at pdfKey(tenantId, id), and then storagePath is updated to that key — so an empty value flags an upload that did not finish. The download endpoint reads from this path to stream the file, and the bulk delete removes the object at this path before deleting the row. It is an internal detail and is never exposed in the GET /api/documents listing.
Skarn PDF
StoredDocument.storagePath
The storage key where the rendered PDF bytes live.
