Docs menuContent / Content types
Content types
A content type is the shape of a page, like "Blog post" or "Help article". You build it from fields.
Open Content, pick a project, and add a content type. Then add fields with Select a field.
Field types
| Group | Fields |
|---|---|
| Text, numbers and dates | Short text · Long text · Rich text · Email address · Number · Date |
| Choices | Yes / No · Dropdown · Choose one |
| Links and files | Link to another page · File or image |
| Structure | Repeating list · Page sections · Group of fields · Tabs |
| For developers | Custom data (JSON) |
Rich text holds headings, lists, links and images. Page sections build a page from different kinds of sections. Link to another page points to a page of another content type.
Pages and globals
A content type with many pages (posts, articles) is delivered to your site. Single site-wide documents (globals) can be edited, but the SDK does not deliver them yet.
Owners and admins change content types. Everyone in the workspace writes pages.
Change a content type
Lefine checks every field change before it saves. Each change is one of three classes:
| Class | What it does to pages | Changes |
|---|---|---|
| Safe | nothing | a new optional field · a new label · a new order · Short text ↔ Long text · Email address → text |
| Breaking | pages keep their content, but some must be fixed before they can be published, or a site that reads them must change | a field becomes required or unique · one value becomes a list · options taken away · stricter limits (longer minimum, shorter maximum, fewer rows) · a new required field with no default |
| Destructive | some of what pages hold is no longer delivered | a field removed · a type change that cannot keep the value · a list becomes one value (pages keep only the first) · translation turned off · a link points to another content type · page section kinds removed |
Safe changes save at once. A breaking or destructive change opens a dialog first: This change affects pages or This change removes content from pages. It lists each risky change with its class and the pages it touches ("3 of 40 pages: …"). Press Save anyway or Keep editing. Saved page versions keep what a destructive change removes.
Field API names cannot change. Removing a field and adding one of the same type is a removal, not a rename. To rename what people see, change the label.
Over the API and MCP
content.collections.previewChange("Check a content type change") returns the same plan: the class, each change with its pages, and a digest. It saves nothing.- A breaking or destructive update is refused unless it sends
confirmChangeswith the digest of that plan. If the content type or its pages change in between, check again. - An AI app's change waits for a person: the approval card lists breaking and destructive changes first, never cut, with the pages they touch.