Path C · API only — Done state
In about 3 minutes you can read published content without opening the admin console (assumes published content exists).
What you have
| Item | State |
|---|---|
| Base URL | Using /public/p/{projectId}/v1 |
| Discovery | llms.txt shows public form sets / entries |
| Fetch | List and single entry (include_snapshot=true) work |
| (Optional) key | Sending X-Luno-Public-Api-Key if required |
Checklist
- [ ] You have a
projectId - [ ]
llms.txtreturns 200 - [ ] Entry list with
include_snapshot=trueworks - [ ] (Optional) Wired Embed or your own fetch on the site
Do this now
- Get
projectId(project settings, or MCPget_public_api_info) - Read the public index
bash
curl "https://api.luno.rest/public/p/{projectId}/v1/llms.txt"ts
const text = await fetch(
'https://api.luno.rest/public/p/{projectId}/v1/llms.txt'
).then((r) => r.text())bash
# "Read llms.txt for this projectId and summarize the public structure"- Fetch entries with bodies
bash
curl "https://api.luno.rest/public/p/{projectId}/v1/form-sets/blog/entries?include_snapshot=true"- Full endpoints: Public API · API only
Next
| Goal | Page |
|---|---|
| Endpoint reference | Public API |
| Wire a site | Framework recipes (Next.js / Astro / Nuxt) |
| Drop-in UI | Embed & Pub |
| Rebuild on publish | Webhooks |
| Write content | Path A · Agents / Path B · Console |