# Anypoint Monitoring Archive API List and retrieve archived Anypoint Monitoring metrics and logs organized by organization, environment, and runtime entity. - **Version:** 1.0.0 - **Category:** Monitoring - **OpenAPI Spec:** [api.yaml](https://dev-portal.mulesoft.com/apis/anypoint-monitoring-archive/api.yaml) ## Servers - `https://monitoring.anypoint.mulesoft.com/monitoring/archive/api/{version}` ## Operations (10) ### GET /organizations **Operation ID:** `getOrganizations` Returns a list of organization identifiers for the organizations that have archived data. If this path contains no data, then an empty list is returned. ### GET /organizations/{organization}/environments **Operation ID:** `getOrganizationsByOrganizationEnvironments` Returns a list of environment identifiers for the environments that have archived data. If this path contains no data, then an empty list is returned. **Parameters:** | `organization` | query | The organization to identify the target resource. | required | ### GET /organizations/{organization}/environments/{environment} **Operation ID:** `getOrganizationsByOrganizationEnvironmentsByEnvironment` Returns a list of entity type identifiers for the entity types that have archived data. If this path contains no data, then an empty list is returned. **Parameters:** | `organization` | query | The organization to identify the target resource. | required | | `environment` | query | The environment to identify the target resource. | required | ### GET /organizations/{organization}/environments/{environment}/{entityType} **Operation ID:** `getOrganizationsByOrganizationEnvironmentsByEnvironmentByEntitytype` Returns a list of entity identifiers for the entities that have archived data. If this path contains no data, then an empty list is returned. **Parameters:** | `organization` | query | The organization to identify the target resource. | required | | `environment` | query | The environment to identify the target resource. | required | | `entityType` | query | The entityType to identify the target resource. | required | ### GET /organizations/{organization}/environments/{environment}/{entityType}/{entityID} **Operation ID:** `getOrganizationsByOrganizationEnvironmentsByEnvironmentByEntitytypeByEntityid` Returns a list of file type identifiers for the file types that have archived data. If this path contains no data, then an empty list is returned. **Parameters:** | `organization` | query | The organization to identify the target resource. | required | | `environment` | query | The environment to identify the target resource. | required | | `entityType` | query | The entityType to identify the target resource. | required | | `entityID` | query | The entityID to identify the target resource. | required | ### GET /organizations/{organization}/environments/{environment}/{entityType}/{entityID}/{fileType} **Operation ID:** `getOrganizationsByOrganizationEnvironmentsByEnvironmentByEntitytypeByEntityidByFiletype` Returns a list of year identifiers for the years that have archived data. If this path contains no data, then an empty list is returned. **Parameters:** | `organization` | query | The organization to identify the target resource. | required | | `fileType` | query | The fileType to identify the target resource. | required | | `entityType` | query | The entityType to identify the target resource. | required | | `environment` | query | The environment to identify the target resource. | required | | `entityID` | query | The entityID to identify the target resource. | required | ### GET /organizations/{organization}/environments/{environment}/{entityType}/{entityID}/{fileType}/{year} **Operation ID:** `getOrganizationsByOrganizationEnvironmentsByEnvironmentByEntitytypeByEntityidByFiletypeByYear` Returns a list of month identifiers for the months that have archived data. If this path contains no data, then an empty list is returned. **Parameters:** | `organization` | query | The organization to identify the target resource. | required | | `year` | query | The year to identify the target resource. | required | | `fileType` | query | The fileType to identify the target resource. | required | | `entityType` | query | The entityType to identify the target resource. | required | | `environment` | query | The environment to identify the target resource. | required | | `entityID` | query | The entityID to identify the target resource. | required | ### GET /organizations/{organization}/environments/{environment}/{entityType}/{entityID}/{fileType}/{year}/{month} **Operation ID:** `getOrganizationsByOrganizationEnvironmentsByEnvironmentByEntitytypeByEntityidByFiletypeByYearByMonth` Returns a list of day identifiers for the days that have archived data. If this path contains no data, then an empty list is returned. **Parameters:** | `organization` | query | The organization to identify the target resource. | required | | `year` | query | The year to identify the target resource. | required | | `fileType` | query | The fileType to identify the target resource. | required | | `entityType` | query | The entityType to identify the target resource. | required | | `environment` | query | The environment to identify the target resource. | required | | `entityID` | query | The entityID to identify the target resource. | required | | `month` | query | The month to identify the target resource. | required | ### GET /organizations/{organization}/environments/{environment}/{entityType}/{entityID}/{fileType}/{year}/{month}/{dayOfMonth} **Operation ID:** `getOrganizationsByOrganizationEnvironmentsByEnvironmentByEntitytypeByEntityidByFiletypeByYearByMonthByDayofmonth` Returns a list of data files under this node with each file containing archived metric data. **Parameters:** | `organization` | query | The organization to identify the target resource. | required | | `dayOfMonth` | query | The dayOfMonth to identify the target resource. | required | | `year` | query | The year to identify the target resource. | required | | `fileType` | query | The fileType to identify the target resource. | required | | `entityType` | query | The entityType to identify the target resource. | required | | `environment` | query | The environment to identify the target resource. | required | | `entityID` | query | The entityID to identify the target resource. | required | | `month` | query | The month to identify the target resource. | required | ### GET /organizations/{organization}/environments/{environment}/{entityType}/{entityID}/{fileType}/{year}/{month}/{dayOfMonth}/{fileName} **Operation ID:** `getOrganizationsByOrganizationEnvironmentsByEnvironmentByEntitytypeByEntityidByFiletypeByYearByMonthByDayofmonthByFilename` Retrieve the contents of the given data file. A data file contains either metric data. **Parameters:** | `organization` | query | The organization to identify the target resource. | required | | `dayOfMonth` | query | The dayOfMonth to identify the target resource. | required | | `year` | query | The year to identify the target resource. | required | | `fileName` | query | The fileName to identify the target resource. | required | | `fileType` | query | The fileType to identify the target resource. | required | | `entityType` | query | The entityType to identify the target resource. | required | | `environment` | query | The environment to identify the target resource. | required | | `entityID` | query | The entityID to identify the target resource. | required | | `month` | query | The month to identify the target resource. | required |