Annotation endpoints
API token endpoints
Dataset endpoints
Monitor endpoints
Notifier endpoints
Organization endpoints
Role-based access control endpoints
Starred queries endpoints
User endpoints
Annotation endpoints
Create annotation
Create annotation
Create annotation
POST
/
annotations
curl --request POST \
--url https://api.axiom.co/v2/annotations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"datasets": [
"<string>"
],
"description": "<string>",
"endTime": "2023-11-07T05:31:56Z",
"time": "2023-11-07T05:31:56Z",
"title": "<string>",
"type": "<string>",
"url": "<string>"
}'
{
"datasets": [
"my-dataset"
],
"description": "Deploy new feature to the sales form",
"endTime": "2024-02-06T11:39:28.382Z",
"id": "ann_123",
"time": "2024-02-06T10:39:28.382Z",
"title": "Production deployment",
"type": "deploy",
"url": "https://example.com"
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
Response
201 - application/json
Annotation
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.axiom.co/v2/annotations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"datasets": [
"<string>"
],
"description": "<string>",
"endTime": "2023-11-07T05:31:56Z",
"time": "2023-11-07T05:31:56Z",
"title": "<string>",
"type": "<string>",
"url": "<string>"
}'
{
"datasets": [
"my-dataset"
],
"description": "Deploy new feature to the sales form",
"endTime": "2024-02-06T11:39:28.382Z",
"id": "ann_123",
"time": "2024-02-06T10:39:28.382Z",
"title": "Production deployment",
"type": "deploy",
"url": "https://example.com"
}