annotations
GET /annotations
Changed onLists annotations in the organization. Filter by datasets, or by a time range with both start and end at most 100 days apart. Without filters, returns all annotations.
Request
- Base URLhttps://api.axiom.co/v2
- AuthOAuth 2Authorization codehttps://accounts.google.com/o/oauth2/v2/authToken URLhttps://www.googleapis.com/oauth2/v4/tokenScopesannotations|read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
datasetsstring[]
Optional: Filter for dataset names.
startstring
Optional: Filter for events after this date. Use RFC3339 time format.
endstring
Optional: Filter for events before this date. Use RFC3339 time format.
Response
Annotations.
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