# Get a Database

Launch stage: GA

`GET /api/2.0/postgres/{name=projects/*/branches/*/databases/*}`

Retrieves information about the specified Postgres database.

API scopes: postgres

## Path parameters

- `name` (string, required)
  The name of the Database to retrieve.
   Format: projects/{project_id}/branches/{branch_id}/databases/{database_id}

## Returns

Returns the Database object.

## Response

### Application database

```json
{
  "name": "projects/inventory-app/branches/production/databases/orders",
  "parent": "projects/inventory-app/branches/production",
  "create_time": "2026-11-11T10:05:12Z",
  "update_time": "2026-11-11T10:05:12Z",
  "status": {
    "role": "projects/inventory-app/branches/production/roles/app-owner",
    "postgres_database": "orders",
    "database_id": "orders"
  },
  "database_id": "orders"
}
```

