Databases and data sources
Retrieve a database
Read a database object. Property definitions are on the data source.
GET
Reads a database’s name, parent, icon, and cover. For property definitions, use Retrieve a data source. A Bottari database always has one data source, with the same ID.
A trashed database can still be read while it’s connected, and
in_trash is true.
string
Optional. Only
2026-03-11 is accepted. Without it, the current version is used. A different value returns 400.string
required
The database ID.
string
The database ID.
object[]
The name, as rich text items.
object[]
The description, as rich text items.
object
{ "type": "page_id", "page_id": "..." } for an inline database, otherwise { "type": "workspace", "workspace": true }.boolean
true for an inline database.boolean
true if it’s in the trash, including an inline database in a trashed document.boolean
true if it’s locked.object[]
Always one item, whose
id matches the database ID.string | null
The address that opens it in the app.
null
Always
null.Errors
See Common rules for shared errors.