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.
Category annotations are uploaded with the Add Annotations endpoint (
Dataset.annotate). For more detail, see Category Annotations and Adding Category Annotations and Predictions.