Skip to main content
GET
/
v1
/
metrics
/
json
Get metrics as JSON
curl --request GET \
  --url https://api.example.com/v1/metrics/json
{
  "timestamp": "2023-11-07T05:31:56Z",
  "metrics": [
    {
      "name": "<string>",
      "value": 123,
      "labels": {},
      "type": "<string>"
    }
  ]
}

Response

Metrics retrieved successfully in JSON format

timestamp
string<date-time>

Timestamp when metrics were collected

metrics
object[]