Actions
Get a database

Note that this won’t get “Linked databases” (they have a ↗ next to the database title) – you need the source database id.

Official documentation

Notion’s official documentation