Get docker /events via portainer api

Hi ,
Anyone know how to get the docker /events via portainer api ?
I didn’t find it at api doc

Thank you

You can use the API endpoint /events like this: GET http://IP:PORT/api/endpoints/ENDPOINT_ID/docker/events?since=TIMESTAMP_FROM&until=TIMESTAMP_TO

IP:PORT is the IP and port of your instance
ENDPOINT_ID is the id of your docker endpoint you want to see events on
TIMESTAMP_FROM is a unix timestamp for the start of the time period you want to see events from
TIMESTAMP_TO is a unix timestamp for the end of the time period you want to see events from