# Tag

A variety of extra information about a metadata item is included as tags. These tags use their own element names such as `Genre`, `Writer`, `Directory`, and `Role`. Individual tag types may introduce their own extra attributes.



## Fields

| Field                                                                                                                             | Type                                                                                                                              | Required                                                                                                                          | Description                                                                                                                       | Example                                                                                                                           |
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `Confidence`                                                                                                                      | **float64*                                                                                                                        | :heavy_minus_sign:                                                                                                                | Measure of the confidence of an automatic tag                                                                                     |                                                                                                                                   |
| `Context`                                                                                                                         | **string*                                                                                                                         | :heavy_minus_sign:                                                                                                                | N/A                                                                                                                               |                                                                                                                                   |
| `Filter`                                                                                                                          | **string*                                                                                                                         | :heavy_minus_sign:                                                                                                                | A filter parameter that can be used to query for more content that matches this tag value.                                        | actor=49                                                                                                                          |
| `ID`                                                                                                                              | **int*                                                                                                                            | :heavy_minus_sign:                                                                                                                | N/A                                                                                                                               |                                                                                                                                   |
| `RatingKey`                                                                                                                       | **string*                                                                                                                         | :heavy_minus_sign:                                                                                                                | The rating key (Media ID) of this media item. Note: Although this is always an integer, it is represented as a string in the API. | 58683                                                                                                                             |
| `Role`                                                                                                                            | **string*                                                                                                                         | :heavy_minus_sign:                                                                                                                | The role this actor played                                                                                                        | Secretary                                                                                                                         |
| `Tag`                                                                                                                             | *string*                                                                                                                          | :heavy_check_mark:                                                                                                                | The value of the tag (the name)                                                                                                   | Shaun Lawton                                                                                                                      |
| `TagKey`                                                                                                                          | **string*                                                                                                                         | :heavy_minus_sign:                                                                                                                | Plex identifier for this tag which can be used to fetch additional information from plex.tv                                       | 5d3ee12c4cde6a001c3e0b27                                                                                                          |
| `TagType`                                                                                                                         | **int*                                                                                                                            | :heavy_minus_sign:                                                                                                                | N/A                                                                                                                               |                                                                                                                                   |
| `Thumb`                                                                                                                           | **string*                                                                                                                         | :heavy_minus_sign:                                                                                                                | N/A                                                                                                                               | http://image.tmdb.org/t/p/original/lcJ8qM51ClAR2UzXU1mkZGfnn3o.jpg                                                                |