> ## Documentation Index
> Fetch the complete documentation index at: https://cloud.laravel.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List database presets

> List the presets the organization can use to create a database of the given
type in the given region. Each preset's `config` can be sent as `config` when
creating a database with the same type and region.

Sizes are resolved for the region, so the same preset may carry a different
size in another region. Presets with no size available in the region, or that
the organization's plan doesn't include, are left out.



## OpenAPI

````yaml https://cloud.laravel.com/api-docs/api.json get /databases/presets
openapi: 3.1.0
info:
  title: Laravel Cloud
  version: 0.0.1
servers:
  - url: https://cloud.laravel.com/api
security:
  - http: []
tags:
  - name: Applications
  - name: Environments
  - name: Domains
  - name: Commands
  - name: Deployments
  - name: Instances
  - name: Email
  - name: Background Processes
  - name: Database Clusters
  - name: Databases
  - name: Database Snapshots
  - name: Database Restores
  - name: Object Storage Buckets
  - name: Bucket Keys
  - name: Caches
  - name: WebSocket Clusters
  - name: WebSocket Applications
  - name: Dedicated Clusters
  - name: Edge Networks
  - name: Secrets
  - name: Usage
  - name: Meta
  - name: Databases (Legacy)
paths:
  /databases/presets:
    get:
      tags:
        - Database Clusters
      summary: List database presets
      description: >-
        List the presets the organization can use to create a database of the
        given

        type in the given region. Each preset's `config` can be sent as `config`
        when

        creating a database with the same type and region.


        Sizes are resolved for the region, so the same preset may carry a
        different

        size in another region. Presets with no size available in the region, or
        that

        the organization's plan doesn't include, are left out.
      operationId: public.databases.presets
      parameters:
        - name: type
          in: query
          required: true
          description: The database type to list presets for.
          schema:
            $ref: '#/components/schemas/DatabaseType'
          example: laravel_mysql
        - name: region
          in: query
          required: true
          description: The region the database will be created in.
          schema:
            $ref: '#/components/schemas/CloudRegion'
          example: us-east-2
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        key:
                          type: string
                        label:
                          type: string
                        config:
                          type: object
                          additionalProperties: {}
                      required:
                        - key
                        - label
                        - config
                required:
                  - data
        '401':
          description: An error
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Error overview.
                    examples:
                      - ''
                required:
                  - message
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  schemas:
    DatabaseType:
      type: string
      enum:
        - laravel_mysql
        - aws_rds_mysql
        - aws_rds_postgres
        - neon_serverless_postgres
      title: DatabaseType
    CloudRegion:
      type: string
      enum:
        - us-east-1
        - us-east-2
        - ca-central-1
        - eu-central-1
        - eu-west-1
        - eu-west-2
        - eu-west-3
        - me-central-1
        - ap-southeast-1
        - ap-southeast-2
        - ap-northeast-1
      title: CloudRegion
  responses:
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors
  securitySchemes:
    http:
      type: http
      description: The Bearer Token generated on the Cloud UI.
      scheme: bearer
      bearerFormat: bearer

````