> ## Documentation Index
> Fetch the complete documentation index at: https://api-reference.scale.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Categorization Annotations

A `CategoryAnnotation` assigns a single label to an entire `DatasetItem`. Category annotations have no notion of geometry, so when uploading them through the REST API, set `geometry` to `{}` and `type` to `category`.

| Property | Type | Description |
| - | - | - |
| `label` | string (**required**) | The label for this annotation. |
| `reference_id` | string (**required**) | User-defined ID of the image to which to apply this annotation. |
| `taxonomy_name` | string | The name of the taxonomy this annotation conforms to. |
| `metadata` | object | Arbitrary key/value dictionary of info to attach to this annotation. |
| `track_reference_id` | string | A unique string to identify the annotation as part of a group. |

Category annotations are uploaded with the [Add Annotations](https://api-reference.scale.com/docs/nucleus/api-reference/add-geometric-annotations.md) endpoint (`Dataset.annotate`). For more detail, see [Category Annotations](https://api-reference.scale.com/docs/nucleus/category-annotations.md) and [Adding Category Annotations and Predictions](https://api-reference.scale.com/docs/nucleus/adding-category-annotations-and-predictions).
