Databases
Get database
Get one DBHost database by ID through the API, including status, size, connection details and its effective scheduled backup policy.
GET
Get database
Returns full details for a database.
sizeBytes reflects the latest known PostgreSQL database size. When the agent is reachable, DBHost refreshes this from live agent data before responding and also persists the refreshed value for later reads.
status can be creating, active, stopped, deleting, or error.
backupPolicy reports the effective
version, scheduledBackup, 30-day normal history, seven-day deletion recovery
and whether the scheduler may enqueue a daily backup. A legacy profile keeps
the existing database’s prior daily behavior, even if its environment label
changes.
Path parameters
Example
Response
200 OK