Skip to content

get command history for device
Stable

Request

API to get and filter deivce command history

Security
apiKey
Path
enterprise_idstring, (uuid)required

Id of the enterprise

device_idstring, (uuid)required

Id for the command request

Query
statestring

Filter by command state

cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/device/{device_id}/command-history/?state=string' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

on successful request

Bodyapplication/json
countinteger, (int64)
nextstring, (url)
previousstring, (url)
resultsArray of objects(V0CommandStatus)
Response
{ "count": 0, "next": "string", "previous": "string", "results": [ {} ] }