API reference

Library

Decks published at renza.io/library — each a real hosted deck plus the prompt and style behind it. Reads are public and keyless. Submitting queues an entry for review; it does not publish. Every listing is reviewed by a person before it appears, and a listing pins the artifact version it was approved against, so later edits can't change what's shown.

Attributes

  • objectstringrequired
  • slugstringrequired
  • titlestringrequired
  • descriptionstringrequired
  • stylestring | nullrequired

    Style slug, if the entry names one.

  • techniquesarray of stringrequired
  • promptstring | nullrequired

    The prompt that produced it, verbatim.

  • provenanceobjectrequired

    Honest provenance — which model, or written by hand. Never inferred.

  • urlstringrequired
  • deck_urlstring | nullrequired

    The public share the entry links to; null if it was revoked.

  • created_atstringrequired

List Library entries (no auth)

GET/v1/public/library

Public. The approved entries at renza.io/library — each a real hosted deck plus the prompt and style behind it. No API key required.

Public — no authentication required.

Keyless — the Library is a public web surface.

Query parameters

  • stylestringoptional

    Only entries cut in this style.

Returns

  • 200The approved entries.

Failures use the standard error envelope with a closed set of codes.

Get a Library entry (no auth)

GET/v1/public/library/{slug}

Public. One approved entry. Unknown or unapproved slugs return 404 — a pending submission is not discoverable through this endpoint.

Public — no authentication required.

Path parameters

  • slugstringrequired

Returns

  • 200The entry.

Failures use the standard error envelope with a closed set of codes.

List submissions awaiting review

GET/v1/library/pending

Your org's Library submissions that haven't been decided yet. The review queue is normally delivered by email; this is the pull-based view for when mail isn't available, and the way to confirm a submission actually landed.

Requires an API key (bearer), scoped to the active org.

Returns

  • 200Pending submissions.

Failures use the standard error envelope with a closed set of codes.

Submit a deck to the Library

POST/v1/library

Submits one of your decks for listing at renza.io/library. Creates a PENDING entry and notifies a reviewer — it does not publish. Every listing is reviewed before it appears, permanently: an approved entry sits on Renza's domain under Renza's SEO. The listing pins the deck's current artifact version, so later edits don't change what was approved. Re-submitting a listed deck updates the entry and returns it to review.

Requires an API key (bearer), scoped to the active org. Supports idempotency keys.

Body parameters

  • deckstringrequired

    Deck id or external id.

  • descriptionstringrequiredmax 400 chars

    What this deck is and why its design works. Shown on the entry.

  • titlestringoptionalmax 200 chars

    Defaults to the deck's title.

  • stylestringoptional

    A slug from GET /v1/public/styles.

  • techniquesarray of stringoptional
  • promptstringoptionalmax 20000 chars

    The prompt that produced the deck.

  • provenance_modelstringoptionalmax 120 chars

    Which model made it, or omit if hand-written. Stated, never inferred.

  • provenance_notestringoptionalmax 400 chars

Returns

  • 202Queued for review.

Failures use the standard error envelope with a closed set of codes.