# GetSessionHistoryMetadata


## Fields

| Field                                                                        | Type                                                                         | Required                                                                     | Description                                                                  | Example                                                                      |
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| `history_key`                                                                | *T.nilable(::String)*                                                        | :heavy_minus_sign:                                                           | N/A                                                                          | /status/sessions/history/1                                                   |
| `key`                                                                        | *T.nilable(::String)*                                                        | :heavy_minus_sign:                                                           | N/A                                                                          | /library/metadata/32171                                                      |
| `rating_key`                                                                 | *T.nilable(::String)*                                                        | :heavy_minus_sign:                                                           | N/A                                                                          | 32171                                                                        |
| `library_section_id`                                                         | *T.nilable(::String)*                                                        | :heavy_minus_sign:                                                           | N/A                                                                          | 2                                                                            |
| `parent_key`                                                                 | *T.nilable(::String)*                                                        | :heavy_minus_sign:                                                           | N/A                                                                          | /library/metadata/32170                                                      |
| `grandparent_key`                                                            | *T.nilable(::String)*                                                        | :heavy_minus_sign:                                                           | N/A                                                                          | /library/metadata/32132                                                      |
| `title`                                                                      | *T.nilable(::String)*                                                        | :heavy_minus_sign:                                                           | N/A                                                                          | The Noise That Blue Makes                                                    |
| `grandparent_title`                                                          | *T.nilable(::String)*                                                        | :heavy_minus_sign:                                                           | N/A                                                                          | Taskmaster                                                                   |
| `type`                                                                       | *T.nilable(::String)*                                                        | :heavy_minus_sign:                                                           | N/A                                                                          | episode                                                                      |
| `thumb`                                                                      | *T.nilable(::String)*                                                        | :heavy_minus_sign:                                                           | N/A                                                                          | /library/metadata/32171/thumb/-1                                             |
| `parent_thumb`                                                               | *T.nilable(::String)*                                                        | :heavy_minus_sign:                                                           | N/A                                                                          | /library/metadata/32170/thumb/1654134301                                     |
| `grandparent_thumb`                                                          | *T.nilable(::String)*                                                        | :heavy_minus_sign:                                                           | N/A                                                                          | /library/metadata/32132/thumb/1703933346                                     |
| `grandparent_art`                                                            | *T.nilable(::String)*                                                        | :heavy_minus_sign:                                                           | N/A                                                                          | /library/metadata/32132/art/1703933346                                       |
| `index`                                                                      | *T.nilable(::Integer)*                                                       | :heavy_minus_sign:                                                           | N/A                                                                          | 1                                                                            |
| `parent_index`                                                               | *T.nilable(::Integer)*                                                       | :heavy_minus_sign:                                                           | N/A                                                                          | 13                                                                           |
| `originally_available_at`                                                    | [DateTime](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/DateTime.html) | :heavy_minus_sign:                                                           | N/A                                                                          | 2022-04-14 00:00:00 +0000 UTC                                                |
| `viewed_at`                                                                  | *T.nilable(::Integer)*                                                       | :heavy_minus_sign:                                                           | N/A                                                                          | 1654139223                                                                   |
| `account_id`                                                                 | *T.nilable(::Integer)*                                                       | :heavy_minus_sign:                                                           | N/A                                                                          | 1                                                                            |
| `device_id`                                                                  | *T.nilable(::Integer)*                                                       | :heavy_minus_sign:                                                           | N/A                                                                          | 5                                                                            |