Get database status
Get a database’s live CPU, RAM, network, storage and uptime with GET /v2/databases/:database_id/status. Pass rawData=true for numbers, not strings.
GET
Get database status
The API key for your account. You can find this in your account settings.
databases:read scope.
Returns live runtime stats for a single database: CPU, RAM, network usage, storage and uptime. Pass rawData=true to get raw numeric values instead of the formatted strings ("0.54%", "111.32MB") shown in the example below, useful when you want to do your own formatting or math client-side.
To fetch this for every owned database at once, use All Databases Status. For historical trends instead of a live reading, see Get Database Metrics.
Parameters
Response
Common errors
Related
- CLI:
squarecloud db status - SDKs:
api.databases.status()(JavaScript),client.databases.status()(Python),c.Databases.Status()(Go)

