Skip to main content
GET
/
api
/
v1
/
databases
/
{id}
Get database
curl --request GET \
  --url https://api.example.com/api/v1/databases/{id}
Returns full details for a database, including connection credentials.

Path parameters

ParameterTypeDescription
iduuidDatabase ID

Response

200 OK
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "my-app",
  "displayName": "My Application",
  "host": "13.61.204.171",
  "port": 6432,
  "dbName": "my_app",
  "username": "my_app",
  "password": "current-password",
  "status": "active",
  "sizeBytes": 8388608,
  "createdAt": "2026-03-19T12:00:00.000Z"
}

Errors

StatusCodeDescription
404NOT_FOUNDDatabase doesn’t exist or isn’t owned by this user