Skip to main content
GET
/
v1
/
databases
/
{id}
/
metrics
/
summary
Get summary reports of database
curl --request GET \
  --url https://api.iran.liara.ir/v1/databases/{id}/metrics/summary \
  --header 'Authorization: <api-key>'
{
  "cpuUsage": [
    {
      "value": [
        123
      ],
      "applet": "<string>"
    }
  ],
  "memoryUsage": [
    {
      "value": [
        123
      ],
      "applet": "<string>"
    }
  ],
  "disksUsage": [
    {
      "size": "<string>",
      "usage": "<string>",
      "reportedAt": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Path Parameters

id
string
required

The name of your database

Response

Successful operation

cpuUsage
object[]
memoryUsage
object[]
disksUsage
object[]