Decks
The governed document. A deck owns its artifact versions, its share state, and its lifecycle status (draft → in review → published → archived). State transitions are field updates — publish a deck by setting `status`, not by calling a verb.
Related guides: Import a deck · Sharing & permissions
Attributes
idstringrequiredobjectstringrequiredtitlestringrequiredstatusstringrequiredcurrent_artifactstring | nullrequiredshare_modestringrequiredexternal_idstring | nullrequiredfolderstring | nullrequiredlivemodebooleanrequiredmetadataobjectrequiredArbitrary key/value map; merge-on-write (§6).
trashed_attimestamprequiredcreated_attimestamprequiredupdated_attimestamprequired
List decks
GET/v1/decks
Lists decks in the active org, newest first. Filter by `status`; paginate with `cursor`.
Requires an API key (bearer), scoped to the active org.
Query parameters
limitintegeroptionaldefault 201–100cursorstringoptionalorderstringoptionaldefault "created_at.desc"Possible values:
created_at.desc,created_at.ascstatusstringoptionaltrashedstringoptionalList the trash instead of active decks.
Possible values:
true,falsefolderstringoptionalFilter to a folder id, or `root` for unfiled decks.
Create or upsert a deck
POST/v1/decks
Creates a deck. If `external_id` is provided and already exists in the org, the existing deck is updated instead (200); otherwise a new deck is created (201).
Requires an API key (bearer), scoped to the active org. Supports idempotency keys.
Body parameters
titlestringoptionalmax 300 charsstatusstringoptionalshare_modestringoptionalexternal_idstringoptionalmax 200 charsmetadataobjectoptionalArbitrary key/value map; merge-on-write (§6).
Returns
200The upserted (already-existing) deck.201The newly created deck.
Failures use the standard error envelope with a closed set of codes.
Retrieve a deck
GET/v1/decks/{id}
Fetches a deck by Renza id or by `external_id` within the active org.
Requires an API key (bearer), scoped to the active org.
Path parameters
idstringrequired
Update a deck
PATCH/v1/decks/{id}
Partial update — only provided fields change. `metadata` merges (key→value sets, key→null deletes, {} clears all). State transitions are field updates (no verb routes).
Requires an API key (bearer), scoped to the active org. Supports idempotency keys.
Path parameters
idstringrequired
Body parameters
titlestringoptionalmax 300 charsstatusstringoptionalshare_modestringoptionalfolderstring | nulloptionalMove to a folder, or null for the root.
current_artifactstringoptionalRoll the deck back to one of its own prior artifact versions.
metadataobjectoptionalArbitrary key/value map; merge-on-write (§6).
trashedbooleanoptionalSet false to restore a trashed deck.
Trash or permanently delete a deck
DELETE/v1/decks/{id}
Moves the deck to the trash (soft delete; restore with `PATCH { trashed: false }`). Pass `?permanent=true` to permanently delete an already-trashed deck and its stored content (irreversible).
Requires an API key (bearer), scoped to the active org. Supports idempotency keys.
Path parameters
idstringrequired
Query parameters
permanentstringoptionalPossible values:
true,false
Returns
200The trashed deck, or a deletion confirmation when `?permanent=true`.
Failures use the standard error envelope with a closed set of codes.
List a deck's viewers
GET/v1/decks/{id}/views
Who opened this deck through its share links (Renza Pro). Link-mode shares return named viewers (names are self-reported); public-mode shares return aggregate counts only. Views are deduplicated per viewer within a 30-minute window.
Requires an API key (bearer), scoped to the active org.
Path parameters
idstringrequired