API Analytics

Get Environment Analytics for top failed v2 and v4 APIs

Get Environment Analytics for top failed v2 and v4 APIs

User must have the API_ANALYTICS[READ] permission.

get/analytics/top-failed-apis

Request

  • Base URL
    /management/v2/environments/DEFAULT (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /management/v2/environments/DEFAULT/analytics/top-failed-apis
  • Auth
    • HTTP basic
    • or API key in cookie Auth-Graviteeio-APIM

Response

Analytics for top failed v2 and v4 APIs based on 5xx status calls

Example response

{
  "data": [
    {
      "id": "00f8c9e7-78fc-4907-b8c9-e778fc790750",
      "definitionVersion": "v4",
      "name": "Sample Application Name",
      "failedCalls": 2137,
      "failedCallsRatio": 0.8
    }
  ]
}

Changes

No recorded changes to this operation across all 65 revisions of this API.