---
title: "List database types"
method: GET
path: "/databases/types"
tags: ["Database Clusters"]
---

# List database types

`GET /databases/types`

## Request

- Base URL: `https://cloud.laravel.com/api`
- URL: `https://cloud.laravel.com/api/databases/types`
- Auth: HTTP bearer

List all available database types with their configuration schemas.

Each type lists the versions a database may be created with; pass one of
them as `version` when creating a database. The retired types that baked
the version into the type are listed after them with no versions and
remain accepted when creating a database, for backwards compatibility.

## Response `200`

- object
  - `data` object[], required
    - `type` string, required
    - `label` string, required
    - `versions` string[], required
    - `regions` string[], required
    - `config_schema` object[], required
      - `name` string, required
      - `type` string, required
      - `required` boolean, required
      - `nullable` boolean
      - `description` string
      - `min` integer
      - `max` integer
      - `enum` union[]
        - union
          - string
          - number
      - `example` string

---

[API](https://skmtc.dev/laravel/apis/laravel-cloud.md) - [All operations](https://skmtc.dev/laravel/apis/laravel-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/laravel/apis/laravel-cloud/revisions/af603f54ff33?raw)
