---
title: "Get database credentials"
method: GET
path: "/db-credentials"
tags: ["Database Credentials"]
---

# Get database credentials

`GET /db-credentials`

Returns connection info for the organization's database. Password not included.

## Response `200`

OK

- GithubComActiveloopaiDeeplakeApiInternalOrgdbCredentialInfoResponse
  - `database` string
  - `host` string
  - `port` integer
  - `ssl_mode` string
  - `username` string

## Other responses

- `401` — Unauthorized
- `403` — Admin access required
- `404` — No credentials exist
- `503` — DLPG not configured

---

[API](https://skmtc.net/deeplake/apis/deeplake-api.md) · [All operations](https://skmtc.net/deeplake/apis/deeplake-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeplake/deeplake-api/revisions/e16ed11d991c/schema)
