Get database
Databases
Get database
Get details for a specific database.
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.
Path parameters
| Parameter | Type | Description |
|---|---|---|
id | uuid | Database ID |
Example
Response
200 OK
Errors
| Status | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Missing or invalid API key |
| 404 | DATABASE_NOT_FOUND | Database doesn’t exist, isn’t owned by this user, or isn’t in scope for this key |