---
title: "Get Db Credentials"
method: GET
path: "/api/DatabaseDetails/db_credentials"
tags: ["DatabaseDetails"]
---

# Get Db Credentials

`GET /api/DatabaseDetails/db_credentials`

**Function**: `get_db_credentials`
**Type**: API Endpoint (GET)

**Purpose**:  
Retrieves the database credentials from the environment variables.

**URL**:  
`GET http://<baseURL>/api/MobileApp/db_credentials`

**Response**:  
A JSON response containing the database credentials.

**Error Handling**:
- Raises HTTP 500 for any exceptions encountered during execution.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi.md) · [All operations](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/leapsurgebi/leapsurgeapi/revisions/5a6b1464bfeb/schema)
