Get database info
Get a database’s metadata with GET /v2/databases/: name, owner, cluster, allocated RAM, engine type and port, without live usage.
GET
Get Database Info
string
required
The API key for your account. You can find this in your account settings.
databases:read scope.
Returns the static identity of a database: its name, owner, hosting cluster, allocated RAM, engine type and connection port. This is metadata only, it does not include live resource usage, use Get Database Status or Get Database Metrics for that.
Useful for confirming a database’s configuration after Create Database or Edit Database, or for looking up which cluster it lives on before contacting support.
Parameters
string
required
The ID of the database. You can find this in the Square Cloud dashboard.
Response
string
Indicates whether the call was successful:
success if it was, error if not.object
The contents of the response.
Common errors
Related
- CLI:
squarecloud db info - SDKs:
api.databases.get()(JavaScript),client.databases.get()(Python),c.Databases.Get()(Go)

