List device command results
GET/api/v1/devices/{deviceId}/commands/results
Paged command history (newest first). Each item is the WEDA command-result envelope. data.status is the result flag (0 = success/received, 1 = failed, with data.error). data.phase is the device-interaction stage, one of pending (dispatched, awaiting ack), ack (received+validated at device), progress (in-progress report for long-running commands), result (done, reported); reboot/shutdown go pending->result, others pending->ack->(progress)->result. Poll here after issuing a command, matching the reqSeqId returned by the issue call against the items.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 503
This device's command history as a paged list, with items (the command-result envelopes for the current page, newest first by creation time) and totalCount (the total matching the filter across all pages).
Invalid query: startTime / endTime not a valid ISO-8601 timestamp, or maxResultCount < 1; or the caller's resource_access claim could not be parsed.
Authentication is required, or the token is invalid.
The caller's token carries no role in the organization owning this device.
Device not found, or outside the organizations the caller can access.
The target device's agent provides no capability model, so this operation cannot be served
The device's capability report could not be read. Transient and not a statement about the device; retry.