# ARM Monitoring Query API Query application metrics and performance data for Mule applications managed through Anypoint Runtime Manager. Filter by application, time range, and environment. - **Version:** 1.0.0 - **Category:** Monitoring - **OpenAPI Spec:** [api.yaml](https://dev-portal.mulesoft.com/apis/arm-monitoring-query/api.yaml) ## Servers - `https://anypoint.mulesoft.com/monitoring/query/api/v{version}/organizations/{organizationId}/environments/{envId}` - `https://{region}.anypoint.mulesoft.com/monitoring/query/api/v{version}/organizations/{organizationId}/environments/{envId}` - `https://{region}.platform.mulesoft.com/monitoring/query/api/v{version}/organizations/{organizationId}/environments/{envId}` ## Operations (8) ### GET /applications **Operation ID:** `get__applications` Returns a list of application metrics with aggregated values. **Parameters:** | `id` | query | The id of the <<resourcePathName|!singularize>> to retrieve the metrics. Could query multiple <<resourcePathName|!singularize>> with one call. | required | | `detailed` | query | Flag that indicates if we should retrieve all the metric values or just the aggregated data. | optional | ### POST /applications **Operation ID:** `post__applications` Returns a list of application metrics with aggregated values corresponding with the provided ids. **Parameters:** | `detailed` | query | Flag that indicates if we should retrieve all the metric values or just the aggregated data. | optional | ### GET /applications/{id} **Operation ID:** `get__applications_{id}` Returns a list of application metrics with the aggregated values. **Parameters:** | `detailed` | query | Flag that indicates if we should retrieve all the metric values or just the aggregated data. | optional | | `id` | query | | required | ### GET /applications/{id}/flows **Operation ID:** `get__applications_{id}_flows` Returns a list of flow metrics with aggregated values. **Parameters:** | `id` | query | The name of the <<resourcePathName|!singularize>> to retrieve the metrics. Could query multiple <<resourcePathName|!singularize>> with one call. | required | | `detailed` | query | Flag that indicates if we should retrieve all the metric values or just the aggregated data. | optional | | `id` | query | | required | ### POST /applications/{id}/flows **Operation ID:** `post__applications_{id}_flows` Returns a list of flow metrics with aggregated values corresponding with the provided ids. **Parameters:** | `detailed` | query | Flag that indicates if we should retrieve all the metric values or just the aggregated data. | optional | | `id` | query | | required | ### GET /targets **Operation ID:** `get__targets` Returns a list of target metrics with aggregated values. **Parameters:** | `id` | query | The id of the <<resourcePathName|!singularize>> to retrieve the metrics. Could query multiple <<resourcePathName|!singularize>> with one call. | required | | `detailed` | query | Flag that indicates if we should retrieve all the metric values or just the aggregated data. | optional | ### POST /targets **Operation ID:** `post__targets` Returns a list of target metrics with aggregated values corresponding with the provided ids. **Parameters:** | `detailed` | query | Flag that indicates if we should retrieve all the metric values or just the aggregated data. | optional | ### GET /targets/{id} **Operation ID:** `get__targets_{id}` Returns a list of target metrics with the aggregated values. **Parameters:** | `detailed` | query | Flag that indicates if we should retrieve all the metric values or just the aggregated data. | optional | | `id` | query | | required |