GET
/
v1
/
apps
/
{id}
/
metrics
Application Metrics
curl --request GET \
  --url https://api.vertracloud.app/v1/apps/{id}/metrics \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "response": [
    {
      "cpu": 25.5,
      "ram": 512,
      "storage": 1024,
      "network": [1048576, 524288],
      "date": "2025-08-14T19:58:00Z"
    },
    {
      "cpu": 30.2,
      "ram": 510,
      "storage": 1024,
      "network": [2097152, 1048576],
      "date": "2025-08-14T19:59:00Z"
    }
  ]
}
id
string
required
The ID of the application to retrieve metrics for. If the application belongs to an organization, include the organization ID in the format appId-orgId.

Response

status
string
Indicates whether the call was successful. success if successful, error if not.
response
array
An array of metric objects for the application over the last 24 hours.
{
  "status": "success",
  "response": [
    {
      "cpu": 25.5,
      "ram": 512,
      "storage": 1024,
      "network": [1048576, 524288],
      "date": "2025-08-14T19:58:00Z"
    },
    {
      "cpu": 30.2,
      "ram": 510,
      "storage": 1024,
      "network": [2097152, 1048576],
      "date": "2025-08-14T19:59:00Z"
    }
  ]
}

Error Responses

status
string
Indicates whether the call was successful. error if not successful.
code
string
The error code indicating the reason for failure. Possible values:
  • UNAUTHORIZED: The user is not authenticated or lacks sufficient permissions.
  • APP_NOT_FOUND: The specified application does not exist.
  • FORBIDDEN: The user does not have permission to access the application.
{
  "status": "error",
  "code": "APP_NOT_FOUND"
}