properties object composed of individual data source property objects. These define the data source schema and are rendered as columns in the Notion UI.
Looking for page property values?To set or read values on individual rows (pages), see Page property values. The API treats data source rows as pages.
Each data source property object also contains a type object. The key of the object is the
type, and the value is an object containing type-specific configuration. The following sections detail these type-specific objects.
Checkbox
A checkbox property contains checkboxes. Thecheckbox type object is empty; there is no additional configuration.
- Property
- Value
Example checkbox data source property
Created by
Contains people mentions of each row’s author. Thecreated_by type object is empty. This value is read-only.
- Property
- Value
Example created by data source property
Created time
Contains timestamps of when each row was created. Thecreated_time type object is empty. This value is read-only.
- Property
- Value
Example created time data source property
Date
Contains date values. Thedate type object is empty; there is no additional configuration.
- Property
- Value
Example date data source property
email type object is empty.
- Property
- Value
Example email data source property
Files
Contains files uploaded to Notion or external links. Thefiles type object is empty.
- Property
- Value
Example files data source property
Formula
Contains values derived from a provided expression. Theformula type object has:
- Property
- Value
Example formula data source property
Last edited by
Contains people mentions of the person who last edited each row. Thelast_edited_by type object is empty. This value is read-only.
- Property
- Value
Example last edited by data source property
Last edited time
Contains timestamps of when each row was last edited. Thelast_edited_time type object is empty. This value is read-only.
- Property
- Value
Example last edited time data source property
Multi-select
Contains values from a range of options. Each row can have one or more options. Themulti_select type object includes an options array. Each option has:
- Property
- Value
Example multi-select data source property
Number
Contains numeric values. Thenumber type object has:
- Property
- Value
Example number data source property
People
Contains people mentions. Thepeople type object is empty.
- Property
- Value
Example people data source property
Phone number
Contains phone number values. Thephone_number type object is empty. No format is enforced.
- Property
- Value
Example phone number data source property
Place
Contains location values. Can be used with the Map view. Theplace type object is empty.
- Property
- Value
Example place data source property
Relation
Contains relations — references to pages in another data source. Therelation type object has:
- Property
- Value
Example relation data source property
Related databases must be shared with your connectionTo retrieve or update relation properties, the related database must also be shared with your connection.
Rich text
Contains text values. Therich_text type object is empty.
- Property
- Value
Example rich text data source property
Rollup
Contains values pulled from a related data source via a rollup. Therollup type object has:
- Property
- Value
Example rollup data source property
Select
Contains values from a selection of options. Only one option per row. Theselect type object includes an options array. Each option has:
- Property
- Value
Example select data source property
Status
Contains values from a list of status options, organized into groups. Thestatus type object includes options and groups arrays.
Options — each has:
Groups — each has:
- Property
- Value
Example status data source property
When creating a status property without specifying options, defaults (“Not started”, “In progress”, “Done”) with groups (“To-do”, “In progress”, “Complete”) are created. When creating or updating custom options, pass
group on each option to assign it to To-do, In progress, or Complete. If group is omitted on update, existing options keep their current group, and new options use To-do when present or the first existing group otherwise. To rename, reorder, or otherwise reconfigure groups, use the Notion UI.Title
Controls the title that appears at the top of a page when a data source row is opened. Thetitle type object is empty.
- Property
- Value
Example data source property
Title data source property vs. data source titleA
title data source property is a type of column in a data source. A data source title defines the name of the data source itself, found on the data source object. Every data source requires both.Unique ID
Automatically incremented, unique across all pages in a data source. Useful for task or bug report IDs (e.g.TASK-1234). This value is read-only.
The unique_id type object has an optional prefix:
- Property
- Value
Example unique ID data source property
URL
Contains URL values. Theurl type object is empty.
- Property
- Value
Example URL data source property