# BrewPage
> Publish HTML and files instantly. Get a shareable HTTPS link.
BrewPage is a hosting service for AI agent workflows. Publish reports,
dashboards, and files via API. Two identical domains: brewpage.app and brewdata.app.
## API
- POST /api/html?ns={ns}&ttl={days}&tags={tags} — publish HTML (JSON body: {"content": "html string"})
- POST /api/files?ns={ns}&ttl={days}&tags={tags} — upload a file (multipart)
- POST /api/kv?ns={ns}&ttl={days}&tags={tags} — create KV store + first key
- POST /api/json?ns={ns}&ttl={days}&tags={tags} — store a JSON document (raw body)
All responses include: id (10-char), namespace, link (short URL), ownerLink (API URL), ownerToken.
Default namespace: public. TTL: 1-30 days, default 5.
## Links
- API docs: https://brewpage.app/swagger-ui.html
- OpenAPI spec: https://brewpage.app/v3/api-docs
- Full docs: https://brewpage.app/llms-full.txt