How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Cognite Annotations API

Annotations reflect contextual information in base CDF resource types, such as Files and Time series, that are notpresent on the object itself. The benefits of the annotations concept are threefold:- The annotations concept is a good fit for enriching the base resources themselves, so that the overall data quality is higher in a given project.- It is also a good fit for building reference datasets for data problems uniformly across customer projects. Product teams can then use those reference datasets to train machine learning models or validatethe performance of their algorithms on actual customer data.- Given a uniform way of labelling similar concepts across projects, it becomes easy for apps to agree on a consistent visual representation of those concepts.

Cognite Annotations API is one of 90 APIs that Cognite publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Annotations. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 7 operations across 7 paths, and defines 57 schemas. It is described by OpenAPI 3.2.0, at version v1.

Requests are made against a single base URL, https://{cluster}.cognitedata.com/api/v1/projects/{project}.

7 operations 7 paths 57 schemas 1 GET6 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v1
Base URL
https://api.cognitedata.com
Authentication
HTTP Bearer, OAuth 2.0, OAuth 2.0, OAuth 2.0, OpenID Connect
Resource Areas
1

Authentication & Security 5

Cognite Annotations API declares 5 security schemes for authenticating requests. It accepts HTTP bearer tokens (OpenID Connect or OAuth2 token) (oidc-token). It supports OAuth 2.0 (oauth2-client-credentials) using the clientCredentials flow, exposing 1 scope. It supports OAuth 2.0 (oauth2-auth-code) using the authorizationCode flow, exposing 1 scope. It supports OAuth 2.0 (oauth2-open-industrial-data) using the clientCredentials flow, exposing 1 scope. It supports OpenID Connect (org-oidc-token) discovered at https://auth.cognite.com/.well-known/openid-configuration. By default, every request must be authenticated.

  • oidc-token — Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to acce…
  • oauth2-client-credentials — Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to acce…
  • oauth2-auth-code — Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to acce…
  • oauth2-open-industrial-data — Auth flow for Open Industrial Data. Get your client secret from https://hub.cognite.com/open-industrial-data-211.
  • org-oidc-token — Access token issued by the Cognite authorization server, and valid for the target organization. The token must be an OpenID Connect token, and it can be obtain…

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 1 GET, 6 POST. Each is listed below with its method, path, parameters, and response codes.

Annotations 7

Annotations reflect contextual information in base CDF resource types, such as Files and Time series, that are not present on the object itself. The benefits of the annotations co…

POST
/annotations
Create annotations
annotationsCreate body → 201400
POST
/annotations/suggest
Suggest annotations
annotationsSuggest body → 201400
GET
/annotations/{annotationId}
Get an annotation
annotationsGet 1 param → 200400
POST
/annotations/list
Filter annotations
annotationsFilter body → 200400
POST
/annotations/byids
Retrieve annotations
annotationsByids body → 200400
POST
/annotations/delete
Delete annotations
annotationsDelete body → 200400
POST
/annotations/update
Update annotations
annotationsUpdate body → 200400

Schemas 57

The contract defines 57 schemas that model the data the API accepts and returns. The most detailed are Annotations.IsoPlanAnnotation (19 properties), AnnotationsV2ResponseSchema (11 properties), Annotations.Detection (9 properties), AnnotationsV2FilterSchema (8 properties). Each schema is shown below with its type and property counts.

Annotations.Point
object
Point in a 2D-Cartesian coordinate system with origin at the top-left corner of the page
3 properties 2 required
AnnotationsV2SuggestSchema
object
7 properties 7 required
Annotations.PolyLine
object
A polygonal chain consisting of n vertices
2 properties 1 required
Annotations.Line
object
Models a line in an engineering diagram
3 properties 2 required
AnnotationsV2ReferenceSchema
object
A reference to an existing annotation
1 property 1 required
AnnotationType
string
The type of the annotation. This uniquely decides what the structure of the data block will be.
Annotations.ExtractedText
object
Represents text extracted from a document. Annotations of this type are low-level and not specific to any domain.
3 properties 2 required
Annotations.Junction
object
Models a junction between lines in an engineering diagram
2 properties 1 required
Status
string
The status of the annotation
Annotations.cogmono__annotation_types__diagrams__InstanceLink
object
Models a link to an FDM instance referenced in an engineering diagram
7 properties 3 required
Annotations.AssetRef
object
A reference to an asset. Either the internal ID or the external ID must be provided (exactly one).
2 properties
Annotations.cogmono__annotation_types__images__AssetLink
object
Models a link to a CDF Asset referenced in an image
5 properties 3 required
AnnotationsV2ListResponseSchema
object
1 property 1 required
EpochTimestamp
integer
The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.
User
string
A username, or email, or name. This is not checked nor enforced. If the value is null, it means the annotation was created by a service.
AnnotationsV2UpdateDataSchema
object
Each fields represent a "delta" that will be applied onto the corresponding field of the original annotation. Updating Annotation Type or Data Ensure that the…
3 properties
Annotations.FileRef
object
A reference to a file. Either the internal ID or the external ID must be provided (exactly one).
2 properties
Annotations.SizeAndClassType
object
Store the dimension, units and class of a given annotation
3 properties
Annotations.FileLink
object
Models a link to a CDF File referenced in an engineering diagram
7 properties 2 required
Annotations.Numerical
object
The numerical value of something
3 properties 2 required
Annotations.ObjectDetection
object
Models an image object detection represented by a label, a geometry, and optionally a confidence value.
6 properties 1 required
AnnotationsV2FilterSchema
object
A filter to apply on annotations
8 properties 2 required
Annotations.BoundingBox
object
A plain rectangle
5 properties 4 required
CogniteInternalId
integer
A server-generated ID for the object.
Annotations.UnhandledTextObject
object
Models an extracted text region in an engineering diagram
4 properties 2 required
AnnotationId
Server-generated identifier for the annotation
Annotations.Detection
object
Represents a detection of a field value in a form. A field is identified by a fieldname, optionally componentname and componenttype if the field belongs to a s…
9 properties 3 required
Annotations.TextRegion
object
Models an extracted text region in an image
3 properties 2 required
Annotations.Polygon
object
A closed polygon represented by n vertices. In other words, we assume that the first and last vertex are connected.
2 properties 1 required
ResourceReference
object
A reference to another CDF resource. Either the internal or the external ID must be provided (not both).
2 properties
Annotations.Classification
object
Models an image classification represented by a label, and optionally a confidence value.
2 properties 1 required
Annotations.BoundingVolume
object
A bounding volume represents a region in a point cloud
5 properties 1 required
Application
string
The application name or identifier. This is neither checked nor enforced.
Annotations.Boolean
object
The boolean value of something
3 properties 2 required
AnnotatedResourceId
The internal ID of the annotated resource.
Annotations.KeypointCollection
object
Models a collection of keypoints represented by a label, a dictionary of keypoints (mapping from a (unique) label name to a keypoint), and optionally a confide…
4 properties 2 required
Annotations.Box
object
A box in 3D space, defined by a 4x4 row-major homogeneous transformation matrix that rotates, translates and scales a box centered at the origin to its locatio…
3 properties 1 required
Annotations.cogmono__annotation_types__images__InstanceLink
object
Models a link to an Data Modeling Instance referenced in an image
5 properties 3 required
AnnotationsV2UpdateItemSchema
object
An update object to apply to an annotation
2 properties 2 required
Annotations.IsoPlanAnnotation
object
Model a custom link in a engineering diagram where it capture details from the texts and linked to assets when necessary
19 properties
SemanticVersion
string
A version number in the SemVer sense. See [semver.org](https://semver.org/) for the specification.
Annotations.cogmono__annotation_types__primitives__geometry2d__Geometry
object
A geometry represented by exactly one of boundingbox, polygon and polyline which, respectively, represents a BoundingBox, Polygon and PolyLine.
3 properties
AnnotationsV2CursoredListResponseSchema
object
A cursored list of existing annotations
2 properties 1 required
CogniteExternalId
string
The external ID provided by the client. Must be unique for the resource type.
Annotations.View
object
Defines a DMS source (e.g. view)
4 properties 4 required
AnnotationsV2CreateSchema
Annotations.cogmono__annotation_types__primitives__geometry3d__Geometry
object
A 3D geometry model represented by exactly one of cylinder and box.
2 properties
AnnotatedResourceType
string
The annotated CDF resource type. Files as well as 3d-Models are supported.
Annotations.InstanceRef
object
A reference to an DMS instance, defined by the instance itself and the sources (views) that define how the data should be interpreted
4 properties 4 required
Annotations.Keypoint
object
A point attached with additional information such as a confidence value and various attribute(s).
3 properties 1 required
Annotations.UnhandledSymbolObject
object
Models an extracted symbol region in an engineering diagram
4 properties 2 required
Error
object
Cognite API error.
4 properties 2 required
Annotations.Cylinder
object
A cylinder in 3D space, defined by the centers of the two end surfaces and the radius.
5 properties 3 required
AnnotationData
The annotation information. The format of this object is decided by and validated against the annotationType attribute.
StrCursor
string
A cursor pointing to another page of results
AnnotationsV2ResponseSchema
object
11 properties 11 required
Annotations.cogmono__annotation_types__diagrams__AssetLink
object
Models a link to a CDF Asset referenced in an engineering diagram
7 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cognite-annotations-api-openapi.yml Raw ↑

Other APIs Cognite publishes across the network.

Cognite Data Fusion API
Cognite 3D Asset Mapping API
Cognite 3D Files API
Cognite 3D Jobs API
Cognite 3D Model Revisions API
Cognite 3D Models API
Cognite Assets API
Cognite Connections API
Cognite Containers API
Cognite Data models API
Cognite Data point subscriptions API
Cognite Data products API
Where this information came from

This is an independent, third-party profile of Cognite Annotations API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.