Retrieve an annotation by id

async AsyncCogniteClient.annotations.retrieve(
id: int,
) → Annotation | None

Retrieve an annotation by id.

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:

id (int) – id of the annotation to be retrieved

Returns:

annotation requested

Return type:

Annotation | None