/api/public/v1/metaPublicService descriptor
Unauthenticated. Call once on app launch to discover the API version, plan catalogue, per-tier quotas, the breathwork technique catalogue, and the endpoint list. Cache it for the session so the client never ships a hardcoded copy that can drift from the server.
Request
curl -X GET 'https://theluminary.xyz/api/public/v1/meta'Response 200
{
"ok": true,
"data": {
"apiVersion": "1.0.0",
"envelope": {
"success": "{ ok: true, data }",
"failure": "{ ok: false, error: { code, message } }"
},
"auth": "Authorization: Bearer <supabase access token> on every endpoint except /meta",
"tiers": [
{
"id": "seeker",
"name": "Seeker",
"tagline": "Start the practice",
"priceMonthlyCents": 0,
"priceLabel": "Free",
"priceId": null,
"features": ["Daily briefing", "Natal chart"],
"quotas": { "chat": 10, "journal": 5, "briefing": 30 }
}
],
"breathworkTechniques": [
{
"slug": "box-breathing",
"name": "Box Breathing",
"tagline": "Steady the nervous system",
"goals": ["focus", "calm"],
"moods": ["anxious", "scattered"],
"defaultRounds": 6,
"pattern": { "inhale": 4, "holdIn": 4, "exhale": 4, "holdOut": 4 }
}
],
"endpoints": [
{ "method": "GET", "path": "/api/public/v1/me", "auth": true, "desc": "Profile, entitlements, billing state" }
]
}
}