CreateAnnotation
Creates an annotation.
api
/v1
/annotations
Request Body
application/json
RequiredThe request for a call to AnnotationService_CreateAnnotation
to create a new annotation.
At least 1 asset, tag, or channel must be specified.
name
Requiredstring
The name assigned to the new annotation.
description
string
A short description about the new annotation.
startTime
Requiredstring
When the annotation starts.
"date-time"
endTime
Requiredstring
When the annotation ends.
"date-time"
assets
array<string>
The names of the assets to associate with this annotation.
linkedChannels
array<object>
The channels to associate with this annotation.
tags
array<string>
The names of the tags to associate with this annotation.
runId
string
The ID of the run that this annotation is associated with.
assignToUserId
string
The ID of the user that this annotation is assigned to.
organizationId
string
The organization associated with this annotation. An organization ID is only required if the user belongs to multiple organizations.
state
string
"ANNOTATION_STATE_UNSPECIFIED"
Value in: "ANNOTATION_STATE_UNSPECIFIED" | "ANNOTATION_STATE_OPEN" | "ANNOTATION_STATE_FLAGGED" | "ANNOTATION_STATE_RESOLVED"
annotationType
string
"ANNOTATION_TYPE_UNSPECIFIED"
Value in: "ANNOTATION_TYPE_UNSPECIFIED" | "ANNOTATION_TYPE_DATA_REVIEW" | "ANNOTATION_TYPE_PHASE"
createdByConditionId
string
The ID of the rule condition that created this annotation.
legendConfig
string
A JSON string containing the axes configuration of the annotation's linked channels.
createdByRuleConditionVersionId
string
The ID of the rule condition version that created this annotation.
A successful response.