---
title: "Get Db Connections"
method: GET
path: "/api/database-connections"
tags: ["Database Connection"]
---

# Get Db Connections

`GET /api/database-connections`

## Response `200`

Successful Response

- DBConnectionResponse[]
  - `alias` string, required
  - `use_ssh` boolean
  - `connection_uri` string, required
  - `ssh_settings` InternalSSHSettings
    - `host` string
    - `username` string
    - `password` string
    - `private_key_password` string
  - `metadata` DBConnectionMetadata
    - `dh_internal` DHDBConnectionMetadata
      - `organization_id` string
  - `id` string
  - `created_at` string, date-time
  - `path_to_credentials_file` string

## Other responses

- `404` — Not found

---

[API](https://skmtc.dev/dataherald/apis/fastapi.md) · [All operations](https://skmtc.dev/dataherald/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dataherald/fastapi/revisions/e168e98625a8/schema)
