Create an annotation

async AsyncCogniteClient.annotations.create(
annotations: Annotation | AnnotationWrite | Sequence[Annotation | AnnotationWrite],
) → Annotation | AnnotationList

Create annotations.

Deprecated since version 8.23.0: The Annotations API is deprecated and is scheduled for removal on 2027-12-31. Move annotations to CogniteAnnotation in the core data model. See https://docs.cognite.com/cdf/deprecated for details and migration guidance.

Parameters:

annotations (Annotation | AnnotationWrite | Sequence[Annotation | AnnotationWrite]) – Annotation(s) to create

Returns:

Created annotation(s)

Return type:

Annotation | AnnotationList