Device Inspector

Get Historian Insights

Get insights for all devices from the Historian based on the optional filters.

get/v1/inspect/devices/history/insights

Request

  • Base URL
    https://api.1nce.com/management-api
  • Auth
    HTTP bearer

Query parameters

deviceIdstring
Example:<device_id>

The unique device ID which identifies each 1NCE SIM. Can be obtained from the Get All Devices API query. For 1NCE SIMS the device ID is equal to its iccid.

iccidstring
Example:8988280666000000000

ICCID of a SIM device, used to identifiy each 1NCE SIM.

startDateTimestring
Example:2022-03-07T08:51:29.015Z

Timestamp from where onwards the historic data messages should be queried.

endDateTimestring
Example:2022-03-07T09:51:29.015Z

Timestamp until when the historic data messages should be queried.

protocolstring
Example:COAP

Filter out data for specific protocols: <ul><li>LWM2M</li><li>UDP</li><li>COAP</li></ul>

intervalstring
Example:1d

The interval for which grouping of statistics should occur.

Response

OK

intervalstring required

Interval of the message statistics, like 1h.

Example response

{
  "items": [
    {
      "time": "2022-03-07T08:51:29.015Z",
      "protocol": "COAP",
      "amount": 8
    }
  ],
  "interval": "1d"
}

Changes

No recorded changes to this operation across all 1 revision of this API.