annotations
POST /annotations
Changed onCreates an annotation on one or more existing datasets. If you omit time, Axiom uses the time of the request. time can't be in the future.
Request
- Base URLhttps://api.axiom.co/v2
- AuthOAuth 2Authorization codehttps://accounts.google.com/o/oauth2/v2/authToken URLhttps://www.googleapis.com/oauth2/v4/tokenScopesannotations|create
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Created annotation.
Example response
{
"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"
}Changes
- info
added the non-success response with the status
- info