Use this file to discover all available pages before exploring further.
Pages, databases, data sources, comments and blocks are either located inside other pages, databases, data sources, and blocks, or are located at the top level of a workspace. This location is known as the “parent”. Parent information is represented by a consistent parent object throughout the API.General parenting rules:
Pages can be parented by other pages, data sources, blocks, agents, or by the whole workspace.
Agent parents only show up on agent instruction pages.
Blocks can be parented by pages, data sources, blocks, or agents.
Agent parents only show up on blocks inside agent instruction pages.
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.
Exceptions applyThese parenting rules reflect the possible response you may receive when retrieving information about pages, databases, and blocks via Notion’s REST API in the latest APIversion.If you are creating new pages, databases, or blocks via Notion’s public REST API, the parenting rules may vary. For example, the parent of a database currently must be a page if it is created via the API.Refer to the API reference documentation for creating pages, databases, data sources, and blocks for more information on current parenting rules.
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 workspace parent object contains the following keys:
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. The parent property is an object containing the following keys:
Agent parents show up on agent instruction pages and the blocks that make them up, where the parent is the agent the instructions belong to. Most pages and blocks do not have agent parents.
Property
Type
Description
Example values
type
type
Always "agent_id".
"agent_id"
agent_id
string (UUIDv4)
The ID of the agent that owns this instruction page or block.