FleetDeckDocs

CLI command

fleetdeck devices

List phones granted to the current key.

Usage

bash
fleetdeck devices

Arguments

This command takes no positional arguments.

Supply FLEETDECK_API_KEY through the environment. See environment configuration.

Behavior

  • Requires devices:read. An empty devices array is valid and does not mean the API failed.

Output and exit

Writes formatted JSON to stdout. Errors are one JSON object on stderr.

Example stdout
{
  "devices": [
    {
      "id": "device_123",
      "name": "Test phone",
      "platform": "android",
      "model": null,
      "os": null,
      "status": "online",
      "lastSeenAt": "2030-01-01T10:00:00.000Z",
      "relayRegion": "eu",
      "agentWebrtc": false,
      "wdaStatus": "idle"
    }
  ]
}

Response fields and API errors: List assigned devices.

See all exit codes and error recovery.