Skip to main content

Documentation Index

Fetch the complete documentation index at: https://greenteagentic.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Any brew with status = ready can be shared via a public, read-only URL. No account required for the viewer.
  1. Open a finished brew
  2. In the Share this brew panel, click Create link
  3. Copy the URL — it looks like https://greenteagentic.app/b/aB3xQ9kL
The slug is a nanoid; it’s long enough that links are unguessable but short enough to paste anywhere.

What viewers see

A clean, read-only rendering of:
  • Title, brew type, and tea score
  • The final Pour output (formatted to match the brew type’s schema)
  • Stage names + statuses (no internal step payloads)
  • An OpenGraph card preview when shared on social or chat
Viewers never see:
  • Your raw context / draft
  • Your Cellar entries
  • Your wallet address or user id
  • Refinement history or feedback notes
In the same panel, click Revoke. The public route returns 404 immediately — there’s no propagation delay because reads hit the database, not a cache. You can mint a fresh link afterwards; it will have a new slug.

How it works under the hood

  • brew_shares table stores (brew_id, slug, created_at, revoked_at).
  • /api/public/brew/:slug is a server route that uses supabaseAdmin (bypassing RLS) but only returns a safe DTO — never raw rows.
  • /b/:slug is a public TanStack route with full OG meta tags.
See Database schema and Server functions for the full contract.