---
title: "List Database Options"
method: GET
path: "/v2/databases/options"
tags: ["DigitalOcean-public.v2-new_Databases"]
---

# List Database Options

`GET /v2/databases/options`

To list all of the options available for the offered database engines, send a GET request to `/v2/databases/options`.
The result will be a JSON object with an `options` key.

## Response `200`

A JSON string with a key of `options`.

- Options
  - `options` object
    - `kafka` object
      - `regions` string[] — An array of strings containing the names of available regions
      - `versions` string[] — An array of strings containing the names of available regions
      - `layouts` DatabaseLayoutOption[] — An array of objects, each indicating the node sizes (otherwise referred to as slugs) that are available with various numbers of nodes in the database cluster. Each slugs denotes the node's identifier, CPU, and RAM (in that order).
        - `num_nodes` integer
        - `sizes` string[] — An array of objects containing the slugs available with various node counts
    - `mongodb` object
      - `regions` string[] — An array of strings containing the names of available regions
      - `versions` string[] — An array of strings containing the names of available regions
      - `layouts` DatabaseLayoutOption[] — An array of objects, each indicating the node sizes (otherwise referred to as slugs) that are available with various numbers of nodes in the database cluster. Each slugs denotes the node's identifier, CPU, and RAM (in that order).
        - `num_nodes` integer
        - `sizes` string[] — An array of objects containing the slugs available with various node counts
    - `pg` object
      - `regions` string[] — An array of strings containing the names of available regions
      - `versions` string[] — An array of strings containing the names of available regions
      - `layouts` DatabaseLayoutOption[] — An array of objects, each indicating the node sizes (otherwise referred to as slugs) that are available with various numbers of nodes in the database cluster. Each slugs denotes the node's identifier, CPU, and RAM (in that order).
        - `num_nodes` integer
        - `sizes` string[] — An array of objects containing the slugs available with various node counts
    - `mysql` object
      - `regions` string[] — An array of strings containing the names of available regions
      - `versions` string[] — An array of strings containing the names of available regions
      - `layouts` DatabaseLayoutOption[] — An array of objects, each indicating the node sizes (otherwise referred to as slugs) that are available with various numbers of nodes in the database cluster. Each slugs denotes the node's identifier, CPU, and RAM (in that order).
        - `num_nodes` integer
        - `sizes` string[] — An array of objects containing the slugs available with various node counts
    - `redis` object
      - `regions` string[] — An array of strings containing the names of available regions
      - `versions` string[] — An array of strings containing the names of available regions
      - `layouts` DatabaseLayoutOption[] — An array of objects, each indicating the node sizes (otherwise referred to as slugs) that are available with various numbers of nodes in the database cluster. Each slugs denotes the node's identifier, CPU, and RAM (in that order).
        - `num_nodes` integer
        - `sizes` string[] — An array of objects containing the slugs available with various node counts
    - `valkey` object
      - `regions` string[] — An array of strings containing the names of available regions
      - `versions` string[] — An array of strings containing the names of available regions
      - `layouts` DatabaseLayoutOption[] — An array of objects, each indicating the node sizes (otherwise referred to as slugs) that are available with various numbers of nodes in the database cluster. Each slugs denotes the node's identifier, CPU, and RAM (in that order).
        - `num_nodes` integer
        - `sizes` string[] — An array of objects containing the slugs available with various node counts
    - `opensearch` object
      - `regions` string[] — An array of strings containing the names of available regions
      - `versions` string[] — An array of strings containing the names of available regions
      - `layouts` DatabaseLayoutOption[] — An array of objects, each indicating the node sizes (otherwise referred to as slugs) that are available with various numbers of nodes in the database cluster. Each slugs denotes the node's identifier, CPU, and RAM (in that order).
        - `num_nodes` integer
        - `sizes` string[] — An array of objects containing the slugs available with various node counts
  - `version_availability` object
    - `kafka` DatabaseVersionAvailability[] — An array of objects, each indicating the version end-of-life, end-of-availability for various database engines
      - `end_of_life` string, nullable — A timestamp referring to the date when the particular version will no longer be supported. If null, the version does not have an end of life timeline.
      - `end_of_availability` string, nullable — A timestamp referring to the date when the particular version will no longer be available for creating new clusters. If null, the version does not have an end of availability timeline.
      - `version` string — The engine version.
    - `pg` DatabaseVersionAvailability[] — An array of objects, each indicating the version end-of-life, end-of-availability for various database engines
      - `end_of_life` string, nullable — A timestamp referring to the date when the particular version will no longer be supported. If null, the version does not have an end of life timeline.
      - `end_of_availability` string, nullable — A timestamp referring to the date when the particular version will no longer be available for creating new clusters. If null, the version does not have an end of availability timeline.
      - `version` string — The engine version.
    - `mysql` DatabaseVersionAvailability[] — An array of objects, each indicating the version end-of-life, end-of-availability for various database engines
      - `end_of_life` string, nullable — A timestamp referring to the date when the particular version will no longer be supported. If null, the version does not have an end of life timeline.
      - `end_of_availability` string, nullable — A timestamp referring to the date when the particular version will no longer be available for creating new clusters. If null, the version does not have an end of availability timeline.
      - `version` string — The engine version.
    - `redis` DatabaseVersionAvailability[] — An array of objects, each indicating the version end-of-life, end-of-availability for various database engines
      - `end_of_life` string, nullable — A timestamp referring to the date when the particular version will no longer be supported. If null, the version does not have an end of life timeline.
      - `end_of_availability` string, nullable — A timestamp referring to the date when the particular version will no longer be available for creating new clusters. If null, the version does not have an end of availability timeline.
      - `version` string — The engine version.
    - `valkey` DatabaseVersionAvailability[] — An array of objects, each indicating the version end-of-life, end-of-availability for various database engines
      - `end_of_life` string, nullable — A timestamp referring to the date when the particular version will no longer be supported. If null, the version does not have an end of life timeline.
      - `end_of_availability` string, nullable — A timestamp referring to the date when the particular version will no longer be available for creating new clusters. If null, the version does not have an end of availability timeline.
      - `version` string — The engine version.
    - `mongodb` DatabaseVersionAvailability[] — An array of objects, each indicating the version end-of-life, end-of-availability for various database engines
      - `end_of_life` string, nullable — A timestamp referring to the date when the particular version will no longer be supported. If null, the version does not have an end of life timeline.
      - `end_of_availability` string, nullable — A timestamp referring to the date when the particular version will no longer be available for creating new clusters. If null, the version does not have an end of availability timeline.
      - `version` string — The engine version.
    - `opensearch` DatabaseVersionAvailability[] — An array of objects, each indicating the version end-of-life, end-of-availability for various database engines
      - `end_of_life` string, nullable — A timestamp referring to the date when the particular version will no longer be supported. If null, the version does not have an end of life timeline.
      - `end_of_availability` string, nullable — A timestamp referring to the date when the particular version will no longer be available for creating new clusters. If null, the version does not have an end of availability timeline.
      - `version` string — The engine version.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

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