Skip to main content
GET
Get Database Info
Authorization
string
required
The API key for your account. You can find this in your account settings.
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

database_id
string
required
The ID of the database. You can find this in the Square Cloud dashboard.

Response

status
string
Indicates whether the call was successful.. success if successful, error if not.
response
object
The contents of the response.

Common errors