Skip to main content
GET
/
v1
/
databases
/
{id}
/
metrics
/
memory
Get memory reports of database
curl --request GET \
  --url https://api.iran.liara.ir/v1/databases/{id}/metrics/memory \
  --header 'Authorization: <api-key>'
{
  "end": 123,
  "result": [
    {
      "values": [
        [
          123
        ]
      ],
      "applet": "<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

Query Parameters

since
number
required

The since of your memory reports

Response

Successful operation

end
number
result
object[]