GET /v1/databases/{id}/versions
Database Versions
List and retrieve historical versions of a database
GET
GET /v1/databases/{id}/versions
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.
Database Versions
Every change to a database entity creates a new version. Use these endpoints to view the version history and retrieve specific versions.List Versions
UUID of the database.
Get Specific Version
UseGET /v1/databases/{id}/versions/{version} to retrieve a specific version.
UUID of the database.
Version number to retrieve (e.g.,
0.2).GET /v1/databases/{id}/versions
Returns
List versions returns an object withentityType and a versions array of serialized entity snapshots (newest first).
Get specific version returns the full database object as it existed at that version.
Error Handling
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
404 | NOT_FOUND | Database or version does not exist |