AppDynamics Metrics API

Retrieve metric hierarchy and metric data for monitored applications with configurable time ranges and aggregation.

Operations 2

GET /rest/applications/{applicationId}/metrics List metric hierarchy for an application #
GET /rest/applications/{applicationId}/metric-data Get metric data for an application #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/appdynamics-metrics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

appdynamics-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AppDynamics Metric and Snapshot Metrics API
  description: The AppDynamics Metric and Snapshot API allows developers to retrieve metric data and transaction snapshots from monitored applications. It supports configurable time ranges, data aggregation through rollup parameters, and access to various metric types including response times, error rates, and call volumes. Developers can retrieve request snapshots for detailed transaction analysis and configure metric retention periods to control how long performance data is stored.
  version: 23.x
  contact:
    name: Splunk AppDynamics Support
    url: https://www.appdynamics.com/support
  termsOfService: https://www.cisco.com/c/en/us/about/legal/cloud-and-software.html
servers:
- url: https://{controller-host}/controller
  description: AppDynamics Controller
  variables:
    controller-host:
      default: example.saas.appdynamics.com
      description: The hostname of your AppDynamics Controller instance.
security:
- bearerAuth: []
- basicAuth: []
tags:
- name: Metrics
  description: Retrieve metric hierarchy and metric data for monitored applications with configurable time ranges and aggregation.
paths:
  /rest/applications/{applicationId}/metrics:
    get:
      operationId: listMetricHierarchy
      summary: List metric hierarchy for an application
      description: Returns the metric tree hierarchy for the specified application. Use this to discover available metric paths before retrieving metric data. Supports wildcard characters in the metric-path parameter.
      tags:
      - Metrics
      parameters:
      - $ref: '#/components/parameters/applicationId'
      - name: metric-path
        in: query
        required: false
        description: The metric path to browse. Supports wildcard characters. If not specified, returns the top level of the metric hierarchy.
        schema:
          type: string
      - $ref: '#/components/parameters/outputFormat'
      responses:
        '200':
          description: Successful retrieval of metric hierarchy
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MetricFolder'
        '401':
          description: Unauthorized - invalid or missing credentials
        '404':
          description: Application not found
  /rest/applications/{applicationId}/metric-data:
    get:
      operationId: getMetricData
      summary: Get metric data for an application
      description: Returns metric data for the specified metric path and time range. The rollup parameter controls whether data is aggregated into a single value or returned as individual data points. Supports wildcard characters in the metric-path parameter.
      tags:
      - Metrics
      parameters:
      - $ref: '#/components/parameters/applicationId'
      - name: metric-path
        in: query
        required: true
        description: The full metric path to retrieve data for. Supports wildcard characters using the pipe delimiter for path levels.
        schema:
          type: string
        example: Application Infrastructure Performance|*|Agent|App|Availability
      - name: time-range-type
        in: query
        required: true
        description: The type of time range to use for the query.
        schema:
          type: string
          enum:
          - BEFORE_NOW
          - BEFORE_TIME
          - AFTER_TIME
          - BETWEEN_TIMES
      - name: duration-in-mins
        in: query
        required: false
        description: Duration in minutes for BEFORE_NOW and BEFORE_TIME time range types.
        schema:
          type: integer
          minimum: 1
      - name: start-time
        in: query
        required: false
        description: Start time in Unix epoch milliseconds for AFTER_TIME and BETWEEN_TIMES time range types.
        schema:
          type: integer
          format: int64
      - name: end-time
        in: query
        required: false
        description: End time in Unix epoch milliseconds for BEFORE_TIME and BETWEEN_TIMES time range types.
        schema:
          type: integer
          format: int64
      - name: rollup
        in: query
        required: false
        description: When true, aggregates data into a single data point. When false, returns individual data points. Defaults to true.
        schema:
          type: boolean
          default: true
      - $ref: '#/components/parameters/outputFormat'
      responses:
        '200':
          description: Successful retrieval of metric data
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MetricData'
        '400':
          description: Bad request - invalid parameters or metric path
        '401':
          description: Unauthorized - invalid or missing credentials
        '404':
          description: Application or metric not found
components:
  parameters:
    outputFormat:
      name: output
      in: query
      required: false
      description: The output format for the response. Defaults to XML if not specified.
      schema:
        type: string
        enum:
        - JSON
        - XML
        default: XML
    applicationId:
      name: applicationId
      in: path
      required: true
      description: The numeric ID or name of the business application.
      schema:
        type: string
  schemas:
    MetricData:
      type: object
      description: Metric data returned for a specific metric path containing one or more data points depending on the rollup parameter.
      properties:
        metricId:
          type: integer
          format: int64
          description: The internal numeric identifier for the metric.
        metricName:
          type: string
          description: The full metric path name.
        metricPath:
          type: string
          description: The hierarchical path of the metric using pipe delimiters.
        frequency:
          type: string
          description: The frequency of the metric data points.
        metricValues:
          type: array
          description: The array of metric data point values.
          items:
            $ref: '#/components/schemas/MetricValue'
    MetricFolder:
      type: object
      description: A node in the metric hierarchy representing either a folder or a leaf metric.
      properties:
        name:
          type: string
          description: The name of this metric folder or metric.
        type:
          type: string
          description: The type of this node - either folder or leaf.
          enum:
          - folder
          - leaf
    MetricValue:
      type: object
      description: A single metric data point with statistical values for a time period.
      properties:
        startTimeInMillis:
          type: integer
          format: int64
          description: The start time of this data point in Unix epoch milliseconds.
        occurrences:
          type: integer
          description: The number of observations in this time period.
        current:
          type: integer
          format: int64
          description: The current or last observed value.
        min:
          type: integer
          format: int64
          description: The minimum value observed in this time period.
        max:
          type: integer
          format: int64
          description: The maximum value observed in this time period.
        count:
          type: integer
          format: int64
          description: The total count of observations.
        sum:
          type: integer
          format: int64
          description: The sum of all values in this time period.
        value:
          type: integer
          format: int64
          description: The computed value based on the rollup type.
        standardDeviation:
          type: number
          format: double
          description: The standard deviation of values in this time period.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: OAuth 2.0 access token obtained from the /controller/api/oauth/access_token endpoint.
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic authentication using user@account:password format.
externalDocs:
  description: Metric and Snapshot API Documentation
  url: https://docs.appdynamics.com/appd/23.x/latest/en/extend-appdynamics/appdynamics-apis/metric-and-snapshot-api