# performanceMetrics - admin-graphql - QUERY
Version: unstable

## Description
RUM (Real User Monitoring) performance metrics for a shop.

### Access Scopes



## Arguments
* [aggregationLevel](/docs/api/admin-graphql/unstable/enums/PerformanceAggregationLevel): PerformanceAggregationLevel - Fetches RUM (Real User Monitoring) data for the specified aggregation level.
* [deviceTypes](/docs/api/admin-graphql/unstable/enums/PerformanceDeviceType): PerformanceDeviceType - Fetches RUM (Real User Monitoring) data for the specified device type.
* [maxDays](/docs/api/admin-graphql/unstable/scalars/Int): Int - Filters RUM (Real User Monitoring) data within the specified period.
* [storefrontId](/docs/api/admin-graphql/unstable/scalars/String): String - Specifies the storefront to return RUM (Real User Monitoring) data for. Can be a Hydrogen storefront ID
(e.g. `1234`) or `online_store` (defaults to `online_store`).


## Returns
* [deviceType](/docs/api/admin-graphql/unstable/enums/PerformanceDeviceType): PerformanceDeviceType! Specifies the device type for which the RUM (Real User Monitoring) data is provided.
* [metrics](/docs/api/admin-graphql/unstable/scalars/JSON): JSON! JSON blob with RUM (Real User Monitoring) data for a shop.


## Examples