Skip to content

Get device command history list

GET
/device/{deviceId}/commands

Return device command history within a 30-day time range.

Authorizations

AccessToken
Type
HTTP (bearer)

Parameters

Path Parameters

deviceId*

Device ID

Type
string
Required

Query Parameters

page

Page number (default 1)

Type
integer
Default
1
Minimum
1
size

Items per page

Type
integer
Default
20
Minimum
1
Maximum
500
status

Filter by status

Type
string
Valid values
"received""executing""completed""cancelled"
startTime*

Start time

Type
string
Required
Format
"date-time"
endTime*

End time (ISO 8601 format, UTC)

Type
string
Required
Format
"date-time"

Responses

Command list returned successfully

application/json
object

Command history list response

Total count

Current page number

Items per page

object[]

Command list

Playground

Authorization
Variables
Key
Value