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. Common use cases: Auditing commands sent across the enterprise Tracking scheduled vs immediate commands Reviewing historical command activity Troubleshooting command execution at scale Best Practices: Use pagination parameters to manage large datasets. Filter or search (if supported) to narrow results when investigating specific command IDs or timeframes. For device-level execution results, pair this endpoint with command status or event feed views.
- Mock serverhttps://api.esper.io/_mock/openapi/commands/v0/commands/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/commands/v0/commands/
curl -i -X GET \
'https://api.esper.io/_mock/openapi/commands/v0/commands/?devices=string&groups=string&command=string&schedule=IMMEDIATE&exclude_internal_commands=false&limit=0&offset=0' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'- object
- object (2)
{ "code": 0, "message": "string", "content": { "count": 0, "previous": "string", "next": "string", "results": [ … ] } }