Hi, I am trying to use the HTTP API to query individual sensors for their values, for example the ping sensor for the value of the latest response. The documentation isn't very extensive so it's proving quite challenging to get this level of information out of the API.

Can you tell me if this is possible, and if so, how do I achieve this? I have a few devices, each running several sensors, and would like to use the API to pull this data out.

Many thanks


Article Comments

Hello,

for live data, you can read the sensor details which include the last value of the primary channel. In order to query all channels, you can experiment with the query builder, menu Setup / PRTG API, section Live Data.

For historic data, you can check the respective calls. HTTP API calls of course need to provide authentication.


Dec, 2021 - Permalink

Thank you, I couldn't find those specific articles before, but that did the job!


Dec, 2021 - Permalink