TypeScript SDK
Databases
Retrieve a database
GET
TypeScript SDK
Retrieves a database object — a container for one or more data sources — for a provided database ID. The response adheres to any limits to a connection’s capabilities. The most important fields in the database object response to highlight:Documentation Index
Fetch the complete documentation index at: https://developers.notion.com/llms.txt
Use this file to discover all available pages before exploring further.
data_sources: An array of JSON objects with theidandnameof every data source under the database- These data source IDs can be used with the Retrieve a data source, Update a data source, and Query a data source APIs
parent: The direct parent of the database; generally apage_idorworkspace: true

Errors
Each Public API endpoint can return several possible error codes. See the Error codes section of the Status codes documentation for more information.Additional resources
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The API version to use for this request. The latest version is 2026-03-11.
Available options:
2026-03-11 Path Parameters
ID of a Notion database, a container for one or more data sources.