Get PostgreSQL database metrics
Postgres Database
Get PostgreSQL database metrics
GET
Get PostgreSQL database metrics
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The Ubicloud location/region
Example:
"eu-central-h1"
Postgres database ID or name Resource ID or name
Pattern:
^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$ID of the project
Pattern:
^pj[0-9a-hj-km-np-tv-z]{24}$Example:
"pjkkmx0f2vke4h36nk9cm8v8q0"
Query Parameters
Start time for metrics query (rfc3339 format)
Example:
"2025-05-12T11:57:24.000Z"
End time for metrics query (rfc3339 format)
Example:
"2025-05-12T11:27:24.000Z"
Key of the specific metric to retrieve
Example:
"cpu_usage"
Response
Metrics data for a Postgres Database
Get PostgreSQL database logsPromote a PostgreSQL read replica (deprecated, use promote-read-replica)