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

string
required
The ID of the database.
boolean
When true, cpu, ram and the other figures come as numbers instead of formatted strings.

Response

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

Common errors