Evolve a Database Schema and Re-Query
A 3-step recipe with Notion. We can help you get access.
Recipe · 3 steps
Evolve a Database Schema and Re-Query
with Notion
Retrieve a database, update its property schema, then query it.
- Retrieve the database to read its current property schema before modifying it.
- Patch the database schema with the supplied properties object, adding or modifying properties as specified.
- Query the database under its new schema, returning a small page of results to confirm it is readable.
What you'll need to have ready
- token: Notion integration token passed as a bearer credential.
- notionVersion: The Notion API version date sent in the Notion-Version header.
- databaseId: The ID of the database to evolve.
- properties: Property schema changes to apply (add or modify properties).
For your developer
Arazzo workflow notion:database-schema-evolution, 3 operations: retrieveDatabase → updateDatabase → queryDatabase. Specs on APIs.io.