# GetSessionHistoryRequest
## Example Usage
```typescript
import { GetSessionHistoryRequest } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetSessionHistoryRequest = {
accountId: 1,
filter: {},
librarySectionID: 12,
};
```
## Fields
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `sort` | *string* | :heavy_minus_sign: | Sorts the results by the specified field followed by the direction (asc, desc)
| |
| `accountId` | *number* | :heavy_minus_sign: | Filter results by those that are related to a specific users id
| 1 |
| `filter` | [operations.QueryParamFilter](../../../sdk/models/operations/queryparamfilter.md) | :heavy_minus_sign: | Filters content by field and direction/equality
(Unknown if viewedAt is the only supported column)
| {
"viewed-at-greater-than": {
"value": "viewedAt\u003e"
},
"viewed-at-greater-than-or-equal-to": {
"value": "viewedAt\u003e=\u003e"
},
"viewed-at-less-than": {
"value": "viewedAt\u003c"
}
} |
| `librarySectionID` | *number* | :heavy_minus_sign: | Filters the results based on the id of a valid library section
| 12 |