# Get

Launch stage: GA

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

Get a Database.

API scopes: postgres

## Path parameters

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

## Returns

Returns the Database object.

## Response

```json
{
  "name": "string",
  "parent": "string",
  "create_time": "string",
  "update_time": "string",
  "spec": {
    "role": "string",
    "postgres_database": "string"
  },
  "status": {
    "role": "string",
    "postgres_database": "string",
    "database_id": "string"
  },
  "database_id": "string"
}
```

