parent object throughout the API.
General parenting rules:
- Pages can be parented by other pages, data sources, blocks, or by the whole workspace.
- Prior to API version 2025-09-03, page parents were databases, not data sources.
- Blocks can be parented by pages, data sources, or blocks.
- Databases can be parented by pages, blocks, or by the whole workspace.
- For wikis, databases can also have a data source parent.
- Data sources are parented by databases.
- Linked or externally synced external data sources may have data source parents, but aren’t thoroughly supported in Notion’s API.
Database parent
Database parents most commonly show up for Data source objects.| Property | Type | Description | Example values |
|---|---|---|---|
type | string | Always "database_id". | "database_id" |
database_id | string (UUIDv4) | The ID of the database that this page belongs to. | "b8595b75-abd1-4cad-8dfe-f935a8ef57cb" |
Data source parent
Data source parents most commonly show up for Page objects.| Property | Type | Description | Example values |
|---|---|---|---|
type | string | Always "data_source_id". | "data_source_id" |
data_source_id | string (UUIDv4) | The ID of the data source that this page belongs to. | "1a44be12-0953-4631-b498-9e5817518db8" |
database_id | string (UUIDv4) | The ID of the database that the data source belongs to, provided in the API response for convenience. | "b8595b75-abd1-4cad-8dfe-f935a8ef57cb" |
Page parent
| Property | Type | Description | Example values |
|---|---|---|---|
type | string | Always "page_id". | "page_id" |
page_id | string (UUIDv4) | The ID of the page that this page belongs to. | "59833787-2cf9-4fdf-8782-e53db20768a5" |
Workspace parent
A page or database with a workspace parent is a top-level page within a Notion workspace. Team-level pages are also currently represented as having a workspace parent in the API. The workspaceparent object contains the following keys:
| Property | Type | Description | Example values |
|---|---|---|---|
type | type | Always "workspace". | "workspace" |
workspace | boolean | Always true. | true |
Block parent
A page may have a block parent if it is created inline in a chunk of text, or is located beneath another block like a toggle or bullet block. Theparent property is an object containing the following keys:
| Property | Type | Description | Example values |
|---|---|---|---|
type | type | Always "block_id". | "block_id" |
block_id | string (UUIDv4) | The ID of the page that this page belongs to. | "ea29285f-7282-4b00-b80c-32bdbab50261" |