> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AggregateSessionsResponse (JSON)

> AggregateSessionsResponse (JSON)

# AggregateSessionsResponse (JSON)

Contains aggregated data for a user's fitness sessions.

<a id="ID4EN" />

## AggregateSessionsResponse

The AggregateSessionsResponse object has the following specification.

| Member                 | Type                                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ---------------------- | -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| totalDurationInSeconds | 64-bit signed integer                  | Total duration of sessions in seconds over the aggregation period.                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| totalJoules            | 64-bit signed integer                  | Total energy burned—in joules—over the aggregation period.                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| totalSessions          | 64-bit signed integer                  | Total number of sessions over the aggregation period.                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| weightedAverageMets    | single-precision floating-point number | Weighted average metabolic equivalent of task (MET) value over the aggregation period. The MET value is the ratio of an individual's metabolic rate during an activity relative to the individual's metabolic rate at rest. Because the metabolic rate for resting is 1.0 regardless of an individual's weight, and MET values are relative to an individual's resting metabolic rate, they can be used to compare the intensity of an activity being performed by individuals of different weights. |

<a id="ID4ESC" />

## Sample JSON syntax

```json theme={null}
{
   "totalSessions" : 300,
   "totalDurationInSeconds" : 1240,
   "totalJoules" :  21600,
   "weightedAvgMet" : 21,
}

    
```

<a id="ID4E2C" />

## See also

<a id="ID4E4C" />

##### Parent

[JavaScript Object Notation (JSON) Object Reference](/reference/live/rest/json/atoc-xboxlivews-reference-json)


## Related topics

- [Multiplayer Session Directory overview](/services/xbox-services/multiplayer/mpsd/live-mpsd-overview.md)
- [XDSP overview](/build/console-features/audio/overviews/xdsp-overview.md)
- [XDspConnect](/reference/audio/xdspaudio/functions/xdspconnect.md)
- [XDspConnectWithMaximumStreamLimit](/reference/audio/xdspaudio/functions/xdspconnectwithmaximumstreamlimit.md)
- [XblMultiplayerSessionSetMatchmakingTargetSessionConstantsJson](/ko/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersessionsetmatchmakingtargetsessionconstantsjson.md)
