All prompts

Use via API UID

API Directory

Every saved prompt with its UID and ready-to-copy endpoints. New here? Open the .

Prompt Name Category Updated UID Copy / Test

Integration Guide

How another program can pull your prompts — by UID, by category, or by name.

Base URL
Server protection
Key in this browser

Quick start (3 steps)

1
Find the prompt's UID
Open a prompt — the UID is in the Use via API bar under the editor. Or use the to copy any UID. Don't want UIDs? Look prompts up by category + name instead (see table below).
2
Send your API key with every call
Header X-API-Key: <your key> (recommended), or Authorization: Bearer <key>, or ?key=<key> as a last resort. In your other program, keep the key in an environment variable such as PROMPT_VAULT_KEY — not hard-coded.
3
Call the endpoint
Add ?format=text to get just the prompt body as plain text — easiest to drop straight into an LLM call. Leave it off to get JSON with name, category, dates and links.

Endpoint reference

MethodPathWhat you get
List filters for /api/prompts: category, name (exact), q (search), fields=summary (no content), sort=name|category|createdAt|updatedAt, order=asc|desc, limit. Name and category matching is case-insensitive.

Copy-paste code


        

Snippets use placeholder YOUR_API_KEY unless you tick "Include my real key". Avoid pasting real keys into shared files or repos.

What the JSON looks like


        

Errors return JSON like {"error": "..."} with status 401 (bad/missing key), 404 (not found), or 400 (bad input).

Server setup (one time)

Turn on the API key: Cloudflare dashboard → Workers & Pages → this Worker → Settings → Variables and Secrets → Add → type Secret, name API_KEY. Or run npx wrangler secret put API_KEY.

Categories: set a plain variable CATEGORIES, e.g. Work,Church,Kids.

Browser apps on another domain: optionally set ALLOWED_ORIGIN (default *).

Select a prompt or create a new one

Want to call prompts from another program?