Skip to main content

Model tree

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.

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