Skip to main content
GET
Reads property names, IDs, types, and options. The data source ID is the same as the database ID.
string
required
Bearer <token>. See Tokens.
string
Optional. Only 2026-03-11 is accepted. Without it, the current version is used. A different value returns 400.
string
required
The data source ID. Use the database ID.
object
Property definitions keyed by property name. Each has id, name, description, type, and type-specific settings.These properties are left out:
  • Session, linked pages, and PR properties
  • Relation properties pointing at a database that isn’t connected, and rollups that use them
object
{ "type": "database_id", "database_id": "..." }.
object
The parent of the database.
object[]
The name.
boolean
true if the database or a document above it is in the trash.

Property definitions

Errors

See Common rules for shared errors.