# CreatePlaylistMetadata


## Fields

| Field                                                          | Type                                                           | Required                                                       | Description                                                    | Example                                                        |
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- |
| `rating_key`                                                   | *T.nilable(::String)*                                          | :heavy_minus_sign:                                             | N/A                                                            | 96                                                             |
| `key`                                                          | *T.nilable(::String)*                                          | :heavy_minus_sign:                                             | N/A                                                            | /playlists/96/items                                            |
| `guid`                                                         | *T.nilable(::String)*                                          | :heavy_minus_sign:                                             | N/A                                                            | com.plexapp.agents.none://a2f92937-1408-40e2-b022-63a8a9377e55 |
| `type`                                                         | *T.nilable(::String)*                                          | :heavy_minus_sign:                                             | N/A                                                            | playlist                                                       |
| `title`                                                        | *T.nilable(::String)*                                          | :heavy_minus_sign:                                             | N/A                                                            | A Great Playlist                                               |
| `summary`                                                      | *T.nilable(::String)*                                          | :heavy_minus_sign:                                             | N/A                                                            | What a great playlist                                          |
| `smart`                                                        | *T.nilable(T::Boolean)*                                        | :heavy_minus_sign:                                             | N/A                                                            | false                                                          |
| `playlist_type`                                                | *T.nilable(::String)*                                          | :heavy_minus_sign:                                             | N/A                                                            | video                                                          |
| `icon`                                                         | *T.nilable(::String)*                                          | :heavy_minus_sign:                                             | N/A                                                            | playlist://image.smart                                         |
| `view_count`                                                   | *T.nilable(::Integer)*                                         | :heavy_minus_sign:                                             | N/A                                                            | 1                                                              |
| `last_viewed_at`                                               | *T.nilable(::Integer)*                                         | :heavy_minus_sign:                                             | N/A                                                            | 1705719589                                                     |
| `leaf_count`                                                   | *T.nilable(::Integer)*                                         | :heavy_minus_sign:                                             | N/A                                                            | 1                                                              |
| `added_at`                                                     | *T.nilable(::Integer)*                                         | :heavy_minus_sign:                                             | N/A                                                            | 1705719589                                                     |
| `updated_at`                                                   | *T.nilable(::Integer)*                                         | :heavy_minus_sign:                                             | N/A                                                            | 1705724593                                                     |
| `composite`                                                    | *T.nilable(::String)*                                          | :heavy_minus_sign:                                             | N/A                                                            | /playlists/96/composite/1705724593                             |
| `duration`                                                     | *T.nilable(::Integer)*                                         | :heavy_minus_sign:                                             | N/A                                                            | 141000                                                         |