---
title: "List eligible database types, versions and modes for the environment"
method: GET
path: "/environment/{environmentId}/databaseConfiguration"
tags: ["Databases"]
---

# List eligible database types, versions and modes for the environment

`GET /environment/{environmentId}/databaseConfiguration`

## Request

- Base URL: `https://api.qovery.com`
- URL: `https://api.qovery.com/environment/{environmentId}/databaseConfiguration`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/qovery/apis/qovery-api/docs/environment/:environmentId/databaseConfiguration/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `environmentId` string, uuid, required

## Response `200`

List eligible database

- DatabaseConfigurationResponseList
  - `results` DatabaseConfiguration[]
    - `database_type` 'MONGODB' | 'MYSQL' | 'POSTGRESQL' | 'REDIS'
    - `version` DatabaseVersionMode[]
      - `name` string
      - `supported_mode` 'CONTAINER' | 'MANAGED'

## Other responses

- `401`: Access token is missing or invalid
- `403`: Access forbidden
- `404`: Resource not found

---

[API](https://skmtc.dev/qovery/apis/qovery-api.md) - [All operations](https://skmtc.dev/qovery/apis/qovery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qovery/apis/qovery-api/revisions/93c4960a44ba?raw)
