Devices
List Recording Commands
List all recording commands for a device
GET
List commands sent to a device, optionally filtered by status.Documentation Index
Fetch the complete documentation index at: https://docs.bota.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Requires an API key withdevices:read scope.
Path Parameters
The device’s unique identifier (e.g.,
dev_abc123).Query Parameters
Filter by command status. One of:
pending, delivered, executed, failed, expired, cancelled.Maximum number of results to return (1-100). Default: 20.
Cursor for pagination.
Response
Returns a paginated list of command objects.Response Fields
| Field | Type | Description |
|---|---|---|
id | string | The command’s unique identifier |
device_id | string | The target device ID |
type | string | Command type: start_recording or stop_recording |
status | string | Current status of the command |
params | object | Command parameters |
grant_token | string | Signed JWT authorizing command execution |
result | object | Execution result (if executed) |
error | object | Error details (if failed) |
expires_at | string | When the command expires |
delivered_at | string | When the command was delivered to device |
executed_at | string | When the command was executed |
created_at | string | When the command was created |

