How to request devices' last 10 log events in REST API calls

Hi,

I am trying to get last 10 device log events by using API calls in python, I can not get from “/api/devices/{dev_eui}/events” because it is streaming.

Any idea I can get the infomation I want?

This endpoint is intended for debugging purposes only. If you want to use this, I recommend using the gRPC client as it supports streaming endpoints out-of-the-box.

1 Like