What is a datasource and how does it relate to a database?
What is a datasource and how does it relate to a database?

Diagram of the new Notion API data model. A database is a parent of one or more data sources, each of which parents zero or more pages. Previously, databases could only have one data source, so the concepts were combined in the API until 2025
Is a datasource a new concept?
Is a datasource a new concept?
2025-09-03 API version, Notion is providing a new set of APIs under /v1/data_sources for managing each data source. Most of your connection’s existing database operations should move to this set of APIs.The /v1/databases family of endpoints now refers to the database (container) as of 2025-09-03. To discover the data sources available for a database, the database object includes a data_sources array, each having an id and a name. The data source ID can then by used with the /v1/data_sources APIs.How does this impact database URLs?
How does this impact database URLs?
https://notion.so/workspace/248104cd477e80fdb757e945d38000bd?v=148104cd477e80bb928f000ce197ddf2:248104cd-477e-80fd-b757-e945d38000bdis the database (container) ID.148104cd477e80bb928f000ce197ddf2is the database view (managing views is not currently supported in the API).
Can I see an example of how parent & child relationships work?
Can I see an example of how parent & child relationships work?

Diagram showing a page in a workspace with a database child. The database has two data sources, each of which have two rows (child pages).
-
Parent Page:
parentis{"type": "workspace", "workspace": "true"}- No changes to how the page’s Block children work.
-
Database:
parentis{"type": "page_id", "page_id": "<id of Parent Page>"}data_sourcesis[{"id": "...", "name": "Data Source"}, {"id": "...", "name": "Data Source"}]
-
Data Source:
parentis{"type": "database_id", "database_id": "<id of Database>"}database_parentis{"type": "page_id", "page_id": "<id of Parent Page>"}
-
Page:
parentis{"type": "data_source_id", "data_source_id": "<id of Data Source>"}- No changes to how the page’s Block children work.
How do permissions work for data sources?
How do permissions work for data sources?
How do these changes work with wikis?
How do these changes work with wikis?

Diagram showing single-source databases nested under one another as part of a wiki structure.
Which APIs are & aren't affected?
Which APIs are & aren't affected?
- Each family of APIs is summarized in the table below.
- Ones that are affected are marked in bold in the first column, and the
2025-09-03changes are outlined in the second column. - Ones that aren’t affected are listed as “None” (some of which have explanatory comments as to why they aren’t affected.)
When can I start using the `2025-09-03` version?
When can I start using the `2025-09-03` version?
Notes on API versions
As a reminder, API versioning is determined by providing a mandatoryNotion-Version HTTP header with each API request. If you’re using the TypeScript SDK, you might be configuring the version in one place where the Notion client is instantiated, or passing it explicitly for each request. You can follow the rest of this guide incrementally, upgrading each use of the API at a time at your convenience.We’re also extending the concept of API versioning to connection webhooks to allow Notion to introduce backwards-incompatible changes without affecting your endpoint until you upgrade the API version in the connection settings. Ensure your webhook URL can handle events of both the old and new shape for a short period of time before making the upgrade.How long will the `2022-06-28` version continue to work?
How long will the `2022-06-28` version continue to work?
2022-06-28.However, even though API connections continue to work, we recommend upgrading to 2025-09-03 as soon as possible. That way, your system is ready for in-app creation of data sources, gains new functionality when working with databases, and you can help Notion’s support teams better handle any questions or requests you have by making sure you’re up-to-date.Behavior for existing connections
Connections using the2022-06-28 API version (or older) will continue to work with existing databases in Notion that have a single data source. Webhooks will also generally continue to be delivered without any changes to the format.However, if any Notion users create a second data source for a database in a workspace that’s connected to your connection (starting on September 3, 2025), your database IDs are no longer precise enough for Notion to process the request.Until you follow this guide to upgrade, Notion responds to requests involving a database ID with multiple data sources with validation errors that look like:additional_data in the response can help you identify the relevant data source IDs to use instead, as you upgrade your connection.Why is this the first version upgrade since 2022?
Why is this the first version upgrade since 2022?
2025-09-03 version release.