# GetTimelineRequest ## Fields | Field | Type | Required | Description | Example | | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | | `rating_key` | *::Float* | :heavy_check_mark: | The rating key of the media item | 23409 | | `key` | *::String* | :heavy_check_mark: | The key of the media item to get the timeline for | /library/metadata/23409 | | `state` | [Models::Operations::State](../../models/operations/state.md) | :heavy_check_mark: | The state of the media item | playing | | `has_mde` | *::Float* | :heavy_check_mark: | Whether the media item has MDE | 1 | | `time` | *::Float* | :heavy_check_mark: | The time of the media item | 2000 | | `duration` | *::Float* | :heavy_check_mark: | The duration of the media item | 10000 | | `context` | *::String* | :heavy_check_mark: | The context of the media item | home:hub.continueWatching | | `play_queue_item_id` | *::Float* | :heavy_check_mark: | The play queue item ID of the media item | 1 | | `play_back_time` | *::Float* | :heavy_check_mark: | The playback time of the media item | 2000 | | `row` | *::Float* | :heavy_check_mark: | The row of the media item | 1 |