Loading

How to Fetch Anypoint Monitoring Reports via API

Fecha de publicación: Aug 5, 2025
Pasos

DESCRIPTION

There is a requirement to access Anypoint Monitoring Reports data using an API call

STEPS TO FOLLOW

  • Generate a bearer token
  • Identify the organisation ID using How to know my Organization ID (Org ID) on the Anypoint Platform and environment ID using How to get the Environment ID?
  • Run the API call like: 
    curl -H "Authorization: Bearer XXXX-XXXX-XXXXX" -X GET https://anypoint.mulesoft.com/monitoring/api/organizations/{ORG_ID}/environments/{ENV_ID}/reports/{REPORT_TYPE}/from/now-{NNN}d/to/now
    replace:
    • {ORG_ID} with Organisation ID
    • {ENV_ID} with Environmnet ID
    • {REPORT_TYPE} with one of the following
      Report Name{REPORT_TYPE}
      Requestsrequests
      Performanceperformance
      Failuresfailures
      CPU Utilisationcpu-utilization
      Memory Utilisationmemory-utilization
    • {NNN} with a supported number of last days: 1, 7, 15, 30, 90
Note, please be mindful and execute the report API call with a reasonable frequency. 

Disclaimer: This example is provided as a reference for your own usage and is not to be considered a MuleSoft product. This example should be considered as a custom solution. The custom solution is not a Supported MuleSoft product.

 

Número del artículo de conocimiento

001116546

 
Cargando
Salesforce Help | Article