Home / Docs / Registry API‹

Registry API

Public index and item payloads; Pro items behind a Bearer key. Base URL: https://api.lumioui.com.

Endpoints

routeauthreturns
GET /health—{ ok: true }
GET /index.json—{ items: [...] } — metadata only, no file contents
GET /r/button.json—free item, includes files[].content
GET /r/pro/<name>.jsonBearer KEYPro item (components, screens, design tastes)
GET /skills.json—skills and design tastes, metadata only
GET /whoamiBearer KEY{ valid, pro, plan, email, key: { prefix, label } }
GET /schema.json—lumioui.json JSON schema

Pro auth: 401 missing, invalid or revoked key; 402 the account has no Pro plan (or it ended); 429 rate limit or the licence's daily allowance; 404 unknown name. Names are validated ([a-z0-9-]) against path traversal.

Self-hosted

Point the registry field in lumioui.json at any static host that serves /index.json + /r/<name>.json:

{ "registry": "https://registry.example.com" }

Free items can be mirrored there. Pro items are served only by https://api.lumioui.com with your licence key.

// ask an llm