---
title: "Get user database connection status"
method: GET
path: "/api/v1/database/connection"
---

# Get user database connection status

`GET /api/v1/database/connection`

## Request

- Base URL: `https://localhost:3000`
- URL: `https://localhost:3000/api/v1/database/connection`
- Auth: OAuth 2 (authorization code, authorization URL `/oauth/authorize`, token URL `/oauth/token`)

Get PostgreSQL connection configuration status for the authenticated user.

## Response `200`

User database connection status

- object
  - `configured` boolean
  - `connector_id` string
  - `session_user` string
  - `credential_identity` string, nullable
  - `host` string, nullable
  - `port` integer, nullable
  - `database` string, nullable
  - `username` string, nullable
  - `ssl` string, nullable
  - `password_set` boolean
  - `source` string, nullable

## Other responses

- `401`: Authentication required
- `500`: Internal server error

---

[API](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api.md) · [All operations](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/corpusiq/apis/multi-source-mcp-api/revisions/e25648ba6027?raw)
