Query dashboard annotations

I just upgraded to 2.1 and I love the new dashboard annotation feature. I would like to be able to remotely obtain the annotations. I am currently using python InfluxDBClient to obtain my time-series data. Is it possible to similarly retrieve the annotation data?

Hello @thammr,
Welcome!
You could use requests and the following openapi spec

Sorry, I just saw your reply as Outlook placed it in the junk folder.
By eavesdropping on the communication between the browser and influxdb, I discovered the url:

http://myhost:8086/api/v2private/annotations?AnnotationListFilter=&orgID=

This seems to correspond to:

Cannot work out how to access the one you provided, but the functionality of both seems the same.