How documents are created
Save options on sync renders
save: false— do not save.saveName: "Q1 Report"— the document name. Default:{slug}-YYYY-MM-DDfor templates,html-YYYY-MM-DDfor/v1/render/html.metadata— your own key-value pairs (paid plans). See Metadata.
GET /v1/documents, for example by a metadata value you set.
Metadata
Each saved render has system metadata:renderTimeMs, plus templateSlug (template renders) or input: "html" (/v1/render/html). Your metadata keys are merged into the same object.
metadata.<key> query parameters on GET /v1/documents.
Retention
When a document is saved, it gets an expiry date (expiresAt) from the account’s plan at that time:
After
expiresAt, the document and its PDF are permanently deleted. The deletion can happen some time after expiresAt, so do not rely on a document being gone at an exact time. Changing plans does not change the expiry of documents that are already saved. See the Billing page in the Dashboard for current plan details.
Download URLs
GET /v1/documents/:id returns a downloadUrl. It is a signed URL that expires 1 hour after the request. Ask again for a new URL. The storage location of the PDF itself is never returned.
Audit trail
Actions on a document are logged: who did what, when, and from where (Dashboard or API key). See Audit Trail.Documents are a hosted API feature. The self-hosted server has no storage: it returns the PDF and keeps nothing.