v1

latestOpenAPI 3.0.1Apache 2.02026-08-063494581.6 MB
esper_cloud_api_Commands V2

List command requests

Alternative Available (recommended): For broader multi-OS support and enhanced command visibility, use the stable command request API: https://api.esper.io/openapi/command-request/listcommandrequests

Returns a paginated list of command requests within the enterprise. Each record includes the command type, targeted devices or groups, schedule details, arguments, and current status.

This endpoint provides visibility into commands that have been issued, whether they are queued, in progress, successful, or failed.

get/v0/enterprise/{enterprise_id}/command/

Path parameters

enterprise_idstring uuid required

ID of the enterprise

Query parameters

command_typestring

Filter by type of command request i.e device, group etc

devicesstring

Filter by device IDs. Accepts comma separated values.

device_typestring

Filter by device type i.e active, inactive etc

commandstring

Filter by command name

issued_bystring

Filter by user. Accepts user id.

Response

on successful request

countinteger
nextstring url
previousstring url