Return a list of all database objects. Allows the user to apply a query filter or sort direction, as seen in the search_workspace function, to alter how/which objects are returned.

list_databases(key, query = NULL, sort = NULL)

Arguments

key

Notion access key as a character.

query

A string which limits which databases are returned by comparing the query to the page title. If NULL, no limiting occurs.

sort

A search sort object. If NULL, no sorting will occur.

Value

A list of database objects.

See also

search_workspace() for examples of sorts.