# Get stats of a command request API to get a aggregrated status for a command request Endpoint: GET /commands/v0/commands/{id}/stats/ Version: 1.0.0 Security: apiKey ## Path parameters: - `id` (string, required) ID of the command request object ## Response 200 fields (application/json): - `code` (integer) - `message` (string) - `content` (object) - `content.id` (string) - `content.status` (array) List of each command status associated to its count. - `content.status.state` (string) State of the command Enum: "Command Queued", "Command Initiated", "Command Acknowledged", "Command In Progress", "Command TimeOut", "Command Success", "Command Failure", "Command Scheduled", "Command Cancelled" - `content.status.total` (number) Count of the devices that are in the corresponding command state ## Response 401 fields (application/json): - `code` (integer, required) - `message` (string, required) - `content` (object) ## Response 404 fields (application/json): - `code` (integer, required) - `message` (string, required) - `content` (object) ## Response 500 fields (application/json): - `code` (integer, required) - `message` (string, required) - `content` (object)