v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_Databases

Retrieve an Existing Database

To show information about an existing database cluster, send a GET request to /v2/databases/$DATABASE_ID/dbs/$DB_NAME.

Note: Database management is not supported for Caching or Valkey clusters.

The response will be a JSON object with a db key. This will be set to an object containing the standard database attributes.

get/v2/databases/{database_cluster_uuid}/dbs/{database_name}

Path parameters

database_cluster_uuidstring uuid required

A unique identifier for a database cluster.

database_namestring required

The name of the database.

Response

A JSON object with a key of db.

Example response

{
  "db": {
    "name": "alpha"
  }
}