Skip to main content

Model tree

PageCreateBody
Block

PageCreateBody

The body of a create-page request.

Parent

What an object lives under.

PagePropertyValue

One entry in a page’s properties map.

RichText

One run of styled text.

TextContent

A literal run of text.
The link on a text run.

Mention

An inline reference to something else in the workspace.

PartialUser

A user, referenced by ID.

PageRef

A reference to a page by ID.

DatabaseRef

A reference to a database by ID.

DateValue

A date, or a date range, with an optional time zone.

LinkPreviewRef

A mention of a third-party URL that Notion renders as a preview.

TemplateMention

A placeholder that resolves when a template is instantiated.

EquationContent

An inline LaTeX equation.

Annotations

The styling applied to one run of rich text.

SelectValue

One chosen option of a select or multi-select property.

StatusValue

The current status of a page in a status property.

FileObject

A file, either linked externally or hosted by Notion.

ExternalFileData

A file Notion links to but does not host.

FileUploadRef

A completed file upload, by ID.

RelationRef

One related page, referenced by ID.

VerificationValue

The verification state of a page in a wiki database.

Icon

A page, database or callout icon.

CustomEmojiData

A workspace’s own uploaded emoji.

NotionIconData

One of Notion’s own built-in icons.

Cover

A page or database cover image.

Block

One piece of content on a page.

CodeContent

A code block.

EquationBlockContent

A standalone LaTeX equation, as its own block.

MediaContent

A file Notion embeds — an image, a video, an audio clip, a PDF or a file.

FileBlockContent

A file attachment, which unlike other media carries a display name.

EmbedContent

Third-party content rendered inline.

BookmarkContent

A link rendered as a bookmark card.

EmptyContent

A block with no content of its own — a divider or a breadcrumb. This object has no settable fields.

TableOfContentsContent

A table of contents, built from the page’s headings.

TableRowContent

One row of a table.

LinkToPageContent

A link to another page, database or comment in the workspace.

BlockParagraphContent

A top-level paragraph.

NestedBlock

A block one level down from the top.

NestedParagraphContent

A paragraph one level down.

LeafBlock

A block two levels down, which is as deep as one request goes.

ParagraphContent

A paragraph of rich text.

HeadingContent

A heading, optionally collapsible.

TextBlockContent

Rich text with a colour.

NumberedListItemContent

A numbered list item.

ToDoContent

A checklist item.

CalloutContent

A callout — rich text in a tinted box with an icon.

TemplateContent

A template button and the blocks it duplicates.

SyncedBlockContent

Content that appears in more than one place and stays in step.

SyncedFromRef

The original block a duplicate synced block mirrors.

TabContent

A set of tabs, whose children are the tabs themselves. This object has no settable fields.

NestedHeadingContent

A heading one level down.

NestedTextBlockContent

A list item, quote or toggle one level down.

NestedNumberedListItemContent

A numbered list item one level down.

NestedToDoContent

A checklist item one level down.

NestedCalloutContent

A callout one level down.

NestedTemplateContent

A template button one level down.

NestedSyncedBlockContent

A synced block one level down.

NestedTabContent

A set of tabs one level down.

NestedTableContent

A table one level down.

BlockHeadingContent

A top-level heading.

BlockTextContent

A top-level list item, quote or toggle.

BlockNumberedListItemContent

A top-level numbered list item.

BlockToDoContent

A top-level checklist item.

BlockCalloutContent

A top-level callout.

BlockTemplateContent

A top-level template button.

BlockSyncedBlockContent

A top-level synced block.

BlockTabContent

A top-level set of tabs.

BlockTableContent

A top-level table.

BlockColumnListContent

A top-level row of side-by-side columns.

BlockColumnContent

One column of a top-level column list.

Template

The template a new or updated page is built from.

Position

Where new blocks are placed among a parent’s existing children.

AfterBlockRef

The block that new content is inserted after.

PageUpdateBody

The body of an update-page request.

PageMoveBody

The body of a move-page request.

PageMarkdownUpdateBody

The body of an update-page-markdown request.

UpdateContentOp

Edit parts of a page, leaving the rest alone.

ContentUpdate

One search-and-replace over a page’s Markdown.

ReplaceContentOp

Replace a page’s entire content.

NotionColor

CodeLanguage