Skip to main content

Typed databases in the REST API

By Steven Van ·

Create a database now accepts an optional database_type of tasks, projects, or skills.

The Notion API's create-a-database endpoint now accepts an optional database_type of tasks, projects, or skills. Notion builds the database from that type's canonical schema and metadata, so the result matches what creating a database of that type in the Notion app would produce. If title is omitted, the database is named after its type, and database_type can't be combined with initial_data_source. Database and data source objects also now expose a read-only database_type field.

This lets developers building on the API create properly structured task, project, or skills databases without manually replicating Notion's schema for each type. Full details on the properties each type creates are in the Typed databases documentation.

Notion
Notion
All-in-one workspace for notes, docs, projects, and wikis — with AI built in for writing, summarizing, and organizing.
View Notion →
Sources

Original source

Read Typed databases in the REST API on Creators Toolbox