GET /v1/databases/{id}
Retrieve a Database
Get a database by ID or fully qualified name
GET
GET /v1/databases/{id}
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Retrieve a Database
Get a single database by its unique ID or fully qualified name.Get by ID
UUID of the database to retrieve.
Comma-separated list of fields to include. Valid fields:
owners, databaseSchemas, usageSummary, location, tags, certification, extension, domains, sourceHash, followers.Include
all, deleted, or non-deleted entities.Get by Fully Qualified Name
UseGET /v1/databases/name/{fqn} to retrieve by fully qualified name.
Fully qualified name of the database (e.g.,
mysql_sample.default).Comma-separated list of fields to include. Valid fields:
owners, databaseSchemas, usageSummary, location, tags, certification, extension, domains, sourceHash, followers.Include
all, deleted, or non-deleted entities.GET /v1/databases/{id}
Returns
Returns a database object with all requested fields populated.Response
Unique identifier for the database (UUID format).
Database name.
Fully qualified name in format
service.database.Human-readable display name.
Description of the database in Markdown format.
Reference to the parent database service.
Type of database service (e.g., Snowflake, BigQuery, PostgreSQL).
Version number for the entity.
List of owners. Only included when
fields contains owners.Classification tags. Only included when
fields contains tags.Domain assignment. Only included when
fields contains domain.Error Handling
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to view this database |
404 | NOT_FOUND | Database with given ID or FQN does not exist |