Released docs. You are viewing the documentation published with v0.49.0. Development docs are available at Latest.
Render one document and seal it (PAdES). Present only when the deployment declares seals.
const url = 'https://example.com/v1/seal/example';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"locale":"example","issuedAt":"2026-04-15T12:00:00Z","data":{},"assets":{"additionalProperty":"example"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/seal/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "locale": "example", "issuedAt": "2026-04-15T12:00:00Z", "data": {}, "assets": { "additionalProperty": "example" } }'The render route’s request body. The document type must name a seal in the bundle manifest; the payload the template reads carries a signing member {mode: seal, signerName, testOnly}. Requires the render:seal scope, which render:render does not imply, from a client the seal’s allowedClients names; the legacy API key never seals. The signing time is the server’s clock, truncated to seconds.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Opaque correlation id; echoed and audited. A sealed file carries the signing time, so two seals of one request differ in their signed bytes; their first revision does not.
Request Bodyrequired
Section titled “Request Bodyrequired”object
object
object
Example generated
{ "locale": "example", "issuedAt": "2026-04-15T12:00:00Z", "data": {}, "assets": { "additionalProperty": "example" }}Responses
Section titled “Responses”Sealed PDF. The default representation is application/pdf with the headers below. With Accept: application/json, the body carries the same values and the warning text, and the headers are not sent. A sealed file has two digests: documentDigest over the first revision, Render’s rendered document, and signedFileDigest over the whole signed file; there is no pdfDigest.
object
A labelled SHA-256 digest: sha256: and 64 lowercase hex digits.
A labelled SHA-256 digest: sha256: and 64 lowercase hex digits.
A labelled SHA-256 digest: sha256: and 64 lowercase hex digits.
A labelled SHA-256 digest: sha256: and 64 lowercase hex digits.
object
A labelled SHA-256 digest: sha256: and 64 lowercase hex digits.
B-T only, as X-Registry-Timestamped-At.
Always true when present, for a seal the runtime declares assuranceProfile: local.
Example
{ "seal": { "level": "B-T", "testOnly": true }}Headers
Section titled “Headers”A labelled SHA-256 digest: sha256: and 64 lowercase hex digits.
SHA-256 over the first revision, Render’s rendered document.
A labelled SHA-256 digest: sha256: and 64 lowercase hex digits.
SHA-256 over the whole signed file.
A labelled SHA-256 digest: sha256: and 64 lowercase hex digits.
SHA-256 over the canonical request envelope the template read, its signing member included.
The document type and its version, as
A labelled SHA-256 digest: sha256: and 64 lowercase hex digits.
The served package’s digest, in the form package.expectedDigest takes.
Number of rendering warnings, including zero.
The runtime seal id.
The PAdES baseline level, by its ETSI EN 319 142-1 name.
A labelled SHA-256 digest: sha256: and 64 lowercase hex digits.
SHA-256 over the seal certificate’s DER.
B-T only: the timestamp authority’s genTime, RFC 3339 in UTC at the precision the authority gave (fractional seconds only when genTime has them).
True, for a seal the runtime declares assuranceProfile: local; absent otherwise.
Invalid request, data, or assets; or document-not-sealable, a document type that names no seal
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Missing or invalid bearer credential; Bearer challenge
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Forbidden: the verified credential is not admitted (client, actor kind, or missing render:seal scope), or is the legacy API key; seal-client-not-allowed: the verified client is not in the seal’s allowedClients
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}This deployment does not serve the seal route
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Request body over the configured limit (problem+json; audited, after authentication)
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Compile failure, strict warnings, or oversized output
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Rate-limited: as many seals as render slots are already in flight; refused, not queued; retry later
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Render panicked, or the prepared file was refused
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Timestamp-failed: the timestamp authority could not be reached, refused, returned an invalid token, or answered too large; one attempt, never retried, never sealed without the timestamp
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Signing-unavailable or seal-certificate-invalid (the seal cannot sign now, plain rendering unaffected); audit failure; or credential verifier unavailable
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Render timeout
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "traceId": "example", "pointers": [ "example" ]}Cookies on Registry Stack
We use optional cookies to understand how you use the main Registry Stack website and this documentation. If you contact us, we may link this activity to your enquiry. You can change your choice at any time. Read the privacy policy.
Your browser asks sites not to track you, so optional tracking stays off.
We could not use or save that choice. Optional tracking remains off.