Skip to content
Esc
navigateopen⌘Jpreview
Dashboard

Get requests stats

Get requests stats for last 24 hours

averageRequestsPerSecond and peakRequestsPerSecond would countain 1440 values corresponding to now - 1440 minutes until now - 1 minute.

A value of -1 would mean that there is no data for that minute.

GET/appid-{appId}/requests/stats
Authorization
api-keyAPI key · headerrequired
The core service API token. If you are using a self-hosted core service and you have not generated a token, you can omit the header.
Header parameters
cdi-versionstring
X.Y of the X.Y.Z CDI version.
Responses
200The operation was successful
statusstatusOK
Allowed:OK
atMinutenumber
averageRequestsPerSecondnumber[]
peakRequestsPerSecondnumber[]
400error code 400
string
401error code 401
string
404error code 404
string
500error code 500
string
Try it
Server
Authorization
Parameters
Request
curl -X GET "/appid-{appId}/requests/stats" \
  -H "api-key: YOUR_API_KEY"
Response
{
  "status": "OK",
  "atMinute": 16382348,
  "averageRequestsPerSecond": [
    10.5
  ],
  "peakRequestsPerSecond": [
    20
  ]
}

API reference

API schema and response details