METRIC REST API A RESTful API is an application program interface (API) that uses HTTP requests to GET data. The following section gives some examples of wildcards usage on Metric Data REST API. URL /controller/rest/applications/100/metric-data?metric-path=&time-range-type=BEFORE_NOW&duration-in-mins=1&rollup=true Method GET URL Parameters metric-path : Business%20Transaction%20Performance%7C%2A%7C%2A%7C%2A%7C%2A%7C%2A%7C%2A time-range-type: BEFORE_NOW duration-in-mins: 1 rollup=true Success Response Response headers: HTTP/1.1 200 OK Server: AppDynamics Content-Type: application/xml Error Response REST endpoints can fail is many ways. From unauthorized access to wrongful parameters etc. Listed few error types: HTTP/1.1 403 Forbidden Server: AppDynamics Content-Language: Content-Type: text/html Incorrect Parameters: Data type ("text"|"bin"|""): text Response code: Non HTTP response code: java.net.URISyntaxException Response message: Non HTTP response message: Malformed esAPPDe Sample Request Call GET https://hostname/controller/rest/applications/100/metric-data?metric-path=Business%20Transaction%20Performance%7C%2A%7C%2A%7C%2A%7C%2A%7C%2A%7C%2A&time-range-type=BEFORE_NOW&duration-in-mins=1&rollup=true Cookie Data: JSESSIONID=c45eeb9747d8aa24338bc2b973cf; X-CSRF-TOKEN=9a3dddf1c54ebca291c46ab10522faa7bae7c477 Request Headers: Connection:keep-alive Accept-Language:en-US,en;q=0.5 Accept-Encoding:gzip, deflate User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/30.0 Accept: application/json, text/plain, */* Authorization: Basic Q2FwaXRhbE9uZS1Qcm9kJTQwQ2FwaXRhbE9uZS1Qcm9kOnRlc3QxMjM= X-CSRF-TOKEN:9a3dddf1c54ebca291c46ab10522faa7bae7c477 Sample Response Data 1578650 Business Transaction Performance|Business Transactions|APPDInterface_PROD/APPDWebServices|BVLInterfaceWS2.Process|Individual Nodes|IP-200-254-23-APPDInterface_PROD/APPDWebServices|Average Block Time(ms) BTM|BTs|BT:23889|Component:617|Average Block Time (ms) ONE_MIN 0 0 0 0 0 0 0.0 0 true Metric Calls example of wildcards at various level 1.Six wild card (|*|*|*|*|*|*) BusinessTransactionPerformance|BusinessTransactions|APPDInterface_PROD/APPDWebServices|BVLInterfaceWS2.Process|IndividualNodes|IP-200-254-23-APPDInterface_PROD/APPDWebServices| METRIC-NAME 2. Five wild card (|*|*|*|*|*) BusinessTransactionPerformance|Business Transactions|APPDInterface_PROD/APPDWebServices|BVLInterfaceWS2.Process|IndividualNodes | METRIC-NAME 3.Four wild card (|*|*|*|*) BusinessTransactionPerformance|Business Transactions|APPDInterface_PROD/APPDWebServices |BVLInterfaceWS2.Process|METRIC-NAME 4.Three wild card (|*|*|*) Business TransactionPerformance|Business Transactions| APPDInterface_PROD/APPDWebServices|METRIC-NAME 5.Two wild card (|*|*) BusinessTransactionPerformance|Business Transactions |METRIC-NAME 6.One wild card (|*) BusinessTransactionPerformance|METRIC-NAME Request to keep metrics under 50K. https:///controller/rest/applications//metric-data?metric-path=Business%20Transaction%20Performance%7C%2A%7CTOMCAT-APP%7CTransactions.SA%7C%2A&time-range-type=BEFORE_NOW&duration-in-mins=1&rollup=true If REST Call is fetching more than 50K metrics, you can replace wild characters by hard-coded values (e.g. TOMCAT-APP & Tranaction.SA). Which will control metric count.