createAnnotation

Create annotation

post
/v2/annotations

Body Parameters

ParamTypeDescription

datasets

array <string>

required

array<string> of dataset names for which the annotation appears on charts

Properties

type

string

required

Type of the event marked by the annotation. Use only alphanumeric characters or hyphens. For example, "production-deployment".

Properties

description

string

Explanation of the event the annotation marks on the charts

Properties

endTime

string

End time of the annotation

Properties

time

string

Time the annotation marks on the charts. If you don't include this field, Axiom assigns the time of the API request to the annotation.

Properties

title

string

Summary of the annotation that appears on the charts

Properties

url

string

URL relevant for the event marked by the annotation. For example, link to GitHub pull request.

Properties

Responses

201
Annotation, an {schema.type} with the following properties:
PropertyTypeDescription

datasets

array <string>

array<string> of dataset names for which the annotation appears on charts

Properties

description

string

Explanation of the event the annotation marks on the charts

Properties

endTime

string

End time of the annotation

Properties

id

string

Properties

time

string

Time the annotation marks on the charts. If you don't include this field, Axiom assigns the time of the API request to the annotation.

Properties

title

string

Summary of the annotation that appears on the charts

Properties

type

string

Type of the event marked by the annotation. Use only alphanumeric characters or hyphens. For example, "production-deployment".

Properties

url

string

URL relevant for the event marked by the annotation. For example, link to GitHub pull request.

Properties

Was this page helpful?