---
title: "List eligible versions for the database"
method: GET
path: "/database/{databaseId}/version"
tags: ["Database Main Calls"]
---

# List eligible versions for the database

`GET /database/{databaseId}/version`

## Request

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

## Path parameters

- `databaseId` string, uuid, required

## Response `200`

List eligible versions

- VersionResponseList
  - `results` Version[]
    - `name` string, required

## 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)
