Dataset
Notion page and database datasets for AI training
A Notion dataset is an export of a business's Notion workspace: pages built from nested blocks, databases with their data sources, typed properties and rows, the relations and rollups between them, comments and the page hierarchy of each teamspace, covering the internal wiki, project trackers, meeting notes and specifications as one connected graph. SourceX sources it to a buyer's spec from established businesses that run Notion. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Pages, block trees and database rows from one Notion workspace, with property schemas, relations, comments and the page hierarchy
- Typical systems
- Notion on any plan; teamspaces, wikis, databases and their data sources; comments and Notion-hosted files where the export route reached them
- Typical history
- Specified by the buyer; pages carry created and last-edited times, and earlier versions of a page are not part of an API pull
- Modality
- Prose and lists as block trees; structured rows with typed properties; attached files and images
- Delivery formats
- Agreed per order; commonly JSONL per page with its block tree, a schema file per data source and files by reference
- Preparation
- Users replaced with stable pseudonyms; people, email and phone properties and names in text replaced; customer and candidate trackers screened; links kept as IDs
- Licensing
- Rights reviewed per teamspace and database, including template content and guest-shared pages; permitted use set in the license
- Availability
- Sourced to your spec by kind of team, mix of pages and database rows, and years of use; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| page_id | string | Re-keyed ID of the Page. A database row is a Page and is keyed the same way. |
| parent | object | The Page's parent as Notion records it: the workspace, another Page, a Block or a Data source. |
| path | array | Titles of the ancestor Pages and Databases from the top-level Page down, with the Teamspace where the export route recorded it. |
| title | string | Plain text of the Page's title Property. |
| data_source | object | For a row, its Database and Data source, with the schema file of Property definitions, options and formula expressions. |
| properties | object | The Page's Property values by name, each with its type, such as status, select, date, people, number, formula or rollup. |
| relations | array | Relation Property values as lists of target Page IDs, paged to the end. |
| blocks | array | The Page's Blocks in document order, each with ID, type, parent Block and text. |
| mentions | array | Page and user mentions found in rich text, and link_to_page Blocks, by target ID. |
| comments | array | Comments on the Page and its Blocks, with discussion ID, author pseudonym, time and text; an API pull holds open discussions only. |
| files | array | File, image and PDF Blocks and files Properties, each pointing to the copy stored during the crawl. |
| provenance | object | The Page's created_time and last_edited_time with the users behind them, its trash flag and the export route used. |
Field names from the table above; values are masked placeholders.
Example record
{
"page_id": "pg_4be91c",
"parent": {
"type": "data_source_id",
"id": "ds_tasks_02"
},
"path": [
"Engineering",
"Platform tasks"
],
"title": "Retry failed invoice exports",
"data_source": {
"database": "db_17",
"id": "ds_tasks_02",
"schema": "schema/ds_tasks_02.json"
},
"properties": {
"Status": {
"type": "status",
"value": "In review"
},
"Assignee": {
"type": "people",
"value": [
"usr_12"
]
},
"ID": {
"type": "unique_id",
"value": "PLAT-482"
},
"Open bugs": {
"type": "rollup",
"value": 1
}
},
"relations": [
{
"property": "Sprint",
"targets": [
"pg_7730aa"
]
},
{
"property": "Bugs",
"targets": [
"pg_19ce02"
]
}
],
"blocks": [
{
"id": "blk_02",
"type": "paragraph",
"parent": null,
"text": "Exports that time out are dropped without a retry. [CUSTOMER_4] lost two nightly files."
},
{
"id": "blk_03",
"type": "toggle",
"parent": null,
"text": "Proposed change"
},
{
"id": "blk_04",
"type": "numbered_list_item",
"parent": "blk_03",
"text": "Queue the export job and retry on timeout."
},
{
"id": "blk_05",
"type": "synced_block",
"parent": null,
"synced_from": "blk_ext_88"
}
],
"mentions": [
{
"block": "blk_02",
"type": "page",
"target": "pg_55d0e3"
}
],
"comments": [
{
"discussion": "dsc_31",
"block": "blk_04",
"author": "usr_05",
"time": "2024-10-09T15:12:00Z",
"text": "Fixed spacing or backoff?"
}
],
"provenance": {
"created_time": "2024-10-02T09:31:00Z",
"last_edited_time": "2024-10-11T16:04:00Z",
"last_edited_by": "usr_05",
"in_trash": false,
"export_route": "api_tree"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Ground agents in a company wiki
Retrieval over real wiki Pages, with hierarchy and links, gives an agent the team's own definitions and decisions.
Reason across documents and records
Questions that need a row's typed Properties and the specification written inside it test both skills at once.
Train agents that work in Notion
The block tree is what an agent reads and writes through the API, so real Pages serve as targets for create and update calls.
Fill properties from prose
Row bodies paired with the Status, select and date values people set show text becoming typed fields.
Evaluate relation following
Hide a relation or a mention and test whether a model finds the Page it pointed at.
Use-case guides: Enterprise and computer-use agents, Document AI, enterprise search and RAG, Private evaluation sets
What makes this data valuable
API tree, not flat export
Blocks arrive nested with types and IDs, and relations as Page IDs.
Rows with bodies
A good share of database rows hold written content, not only Properties.
Relations resolve
Most relation and mention targets are Pages inside the delivery.
Schemas delivered
Every Data source comes with its Property definitions and option lists.
Original writing
Template Pages and untouched template rows are flagged or removed.
Maintained pages
Last-edited times and wiki verification show which Pages are current.
System export
Notion dataset
A row is a page, and a page is a tree of blocks
Notion stores everything as blocks in a tree. A paragraph, a to-do and a toggle are Blocks, a Page is a Block that holds others, and nesting carries meaning: the lines under a toggle or an indented bullet are its children. A Database is a set of Pages that share a schema of typed Properties, held on one or more Data sources, and each row is itself a Page with a body. A task row can carry a status, an assignee and a due date as Properties and, inside the same Page, the full specification it tracks. The record and the document are one object.
The links are typed. A relation Property holds the IDs of related Pages, usually rows of another Data source. A rollup computes over those related Pages and a formula over the row's own Properties, so both arrive as results while the expression stays in the schema. Mentions inside rich text point at Pages and people by ID, and child_page, child_database and link_to_page Blocks tie a document to what sits beneath it. The result is one graph: a meeting note mentions a project Page whose task rows relate to a sprint.
History is thin. Pages and Blocks carry created and last-edited times and the user behind each, which shows where a Page was revised, not what it said before. A Property change overwrites the old value: a row shows its current Status with no log of when it moved. Notion keeps page history on screen for a period that depends on the plan, and an API pull does not include it. Rows made from a database template start with the same Blocks, so identical bodies across rows are scaffolding, not writing.
Ask whether you are getting the API tree or the flat export
Notion's built-in export writes Markdown and CSV. Each Page becomes a Markdown file, and a full-page Database becomes a CSV with a Markdown file for each row's Page when subpages are included. The CSV is taken from one View, the current or the default one, and the team's other board, calendar and filtered Views are not carried, so ask which View was used and what it hid. Relations become text naming the related Pages, and rollups and formulas become the values showing at export time. A callout is written as an HTML fragment because Markdown has no equivalent, and nesting under toggles and columns can be lost. Ask what became of synced blocks.
The API returns the tree, at a cost. Block children come back a page at a time and one level deep, so a crawler must recurse wherever has_children is true. Long relation and people lists are cut short on the Page object and have to be paged separately. A copy of a synced block points at its original through synced_from. Block types the API does not model arrive as unsupported. Files hosted by Notion are returned as links that expire, so they must be downloaded during the crawl. An integration sees only the Pages shared with it. The comments endpoint needs a capability that is off by default, and it returns open discussions, not resolved ones.
Test a sample for its route. Page titles in a relation column where IDs should be mean the flat export. In an API tree, count Blocks of type unsupported, check that every Block flagged as having children has them, and resolve relation and mention IDs against the delivered Pages. Open several database rows and confirm the body is there. Then compare the top-level Pages with the sidebar the supplier describes, since unshared Teamspaces and private Pages drop out silently.
What to check before licensing
- Ask whether the delivery came from the API block tree, the Markdown and CSV export or the HTML export, and have the route recorded per Page.
- Check that relation Properties hold Page IDs that resolve inside the delivery, and that long relation and people lists were paged to the end.
- Open sample database rows and confirm each row's body was captured with its Properties, and that the Data source schema with option lists and formula expressions is included.
- Count Blocks of type unsupported, synced blocks with their originals, and child databases, and ask what was done with each.
- Check database rows for customer and employee data. CRM-style trackers, hiring boards and people directories hold names, emails and phone numbers in Properties and in row bodies.
- Ask which Pages were duplicated from public templates, and have template text and untouched template rows flagged or removed.
- Have the buyer and the data owner each check Notion Labs' terms on exported workspace content and API use against the intended use, and ask which Teamspaces and private Pages the integration could see.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Is Notion's Markdown and CSV export enough for training?
For plain retrieval over prose, often yes. For anything that uses structure, no. The flat export turns relations into text and formulas into values, writes each database from a single view and can flatten toggles and columns. If you need the graph of pages, rows and relations, ask for the block tree from the API with the data source schemas.
Does a Notion dataset include page version history?
Not from an API pull. The API returns each page and block as it stands, with created and last-edited times. Notion shows page history in its own interface for a period that depends on the plan, and that history is not exported. If you need change over time, ask whether the supplier kept periodic exports.
How are relations, rollups and formulas delivered?
In a delivery built from the API, relations arrive as lists of page IDs, re-keyed so they resolve inside it. Rollups and formulas arrive as computed values, with the formula expression and the rollup's source relation in the data source schema. Ask for the schema with the rows, and check that a relation pointing outside the agreed scope is flagged, not left as a dangling ID.
Can I license only the databases, or only the wiki?
Yes, if you specify it: the license defines which records are included, so scope can follow a teamspace, a page tree or a database. Splitting has a cost, because the workspace is one graph: a wiki page mentions rows, and rows relate to databases elsewhere. State whether links that leave the scope should be kept as IDs, replaced with titles or removed, and ask how many relations cross the boundary.
How is personal data inside Notion databases handled?
Personal details such as names, emails and phone numbers are removed or replaced before delivery, and you should check the result on a sample. Teams build customer lists, hiring pipelines and contact directories as databases, so people, email and phone properties hold real identities, and row bodies hold interview notes or account details. Ask which databases were excluded and which properties were replaced, and read the row bodies too.
Is SourceX affiliated with Notion Labs?
Notion is named to identify the system the records come from. That does not imply a partnership with or endorsement by Notion Labs. The records belong to the business that runs Notion, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- SOPs, playbooks and internal knowledge bases
Written procedures with page history, ownership and links to execution records
- Confluence spaces and page histories
Pages and blog posts from a Confluence site with their space, page tree, published versions, comments, labels and attachments
- Coda docs and tables
Docs from a Coda workspace: page text, base tables, views, column formulas, buttons, controls and automation rules
- Airtable bases and records
A business's Airtable bases: tables, typed fields and records keyed by record ID, with the links and formulas between them
- Enterprise workflow and task execution histories
Linked task trajectories from request to outcome, across every tool the work touched
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026. Own data like this? See how companies license it to AI developers.