Skip to content

Masters

Manage shared options (categories, tags, and more) as master entities + records, and reference them from Form Set select / radio fields. After you publish a master to the site, the Public API can read it.

Done state

ItemState
EntityAt least one master with a key
Recordsvalue (locale-stable) and label (display) filled
Site publishPublished to site in Console (unpublished masters are omitted from Public API)
Public APImaster-entities / .../records return 200
OptionalSubscribed to master.published webhooks

When to use

  • Shared options across Form Sets
  • Building filter UIs from the Public API
  • Seeding master definitions via Agents / Blueprint

Checklist

  • [ ] Created entity + records under Console Masters
  • [ ] Ran Publish to site (empty masters cannot publish)
  • [ ] GET .../master-entities/{key}/records?locale=ja returns value / label
  • [ ] Form Set select references the master; published snapshots store value

Do this now

  1. Create a master and add records (value = stable id, label = display name)
  2. Publish to site
  3. Verify via Public API
bash
curl "https://api.luno.rest/public/p/{projectId}/v1/master-entities"
curl "https://api.luno.rest/public/p/{projectId}/v1/master-entities/category/records?locale=ja"
ts
const BASE = 'https://api.luno.rest/public/p/{projectId}/v1'
const entities = await fetch(`${BASE}/master-entities`).then((r) => r.json())
const records = await fetch(
  `${BASE}/master-entities/category/records?locale=ja`
).then((r) => r.json())
bash
# “Create a category master, publish to site, and verify public records”
  1. Wire the master into a Form Set select / radio and publish an entry

Next

GoalPage
EndpointsPublic API · Masters
Field wiringForm builder
master.publishedWebhooks
Blueprint / MCPAI Agents guide