Skip to main content

Get logs for a node

POST 

/logs/getLogs

Get device logs. Anedya platform will retain the device logs for a period of two months. You can fetch max 1000 lines of logs in a single call

Request

Body

    nodeid stringrequired
    from integerrequired
    to integer
    order string

    Possible values: [asc, desc]

    limit integer

    Possible values: <= 1000

Responses

OK

Schema
    success boolean
    error string
    errorcode integer
    count integer
    data object[]
  • Array [
  • timestamp integer
    log string
  • ]
Loading...