> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mobilerun.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Working with cloud devices

> Explore the device grid, stream toolbar, and device settings in the Cloud dashboard.

Open **Devices** in the Cloud dashboard; see [Manage devices](https://docs.mobilerun.ai/devices.md) for states, API operations,
and billing modes.## The device gridSearch, filter, and arrange your devices, or open a tile's controls to manage it.

![Cloud dashboard device grid with search, filters, and device controls.](https://mintcdn.com/mobilerun/5fhpAhiM6yJPIu5h/images/cloud-devices/grid-light.png?fit=max&auto=format&n=5fhpAhiM6yJPIu5h&q=85&s=2ed9e413b50188eb783b371c938136e6)
        ![Cloud dashboard device grid with search, filters, and device controls.](https://docs.mobilerun.ai/images/cloud-devices/grid-dark.png)


      \<details><summary>All points</summary>
        \<ol /></details>

## Working in the streamFocus a running device's screen to tap, drag, and type; the Manage device image below also shows
its stream toolbar.### Paste from your computerFocus a device text field, keep the stream focused, and press **Cmd+V** on macOS or **Ctrl+V** on
Windows or Linux, allowing clipboard access when asked.
Copying text from the device to your computer is not supported yet.**Call media:** use **Webcam** on supported devices to send browser microphone and camera input;
check `GET /devices/{deviceId}/capabilities` for `microphoneInjection`, `cameraInjection`, and
`mediaInjectionTransport: "direct"`. A [stream token](https://docs.mobilerun.ai/api-keys.md#stream-tokens) can also publish call media when enabled for your organization.## Manage deviceChoose **Manage device** from a device's controls or table-row menu to open its stream and settings.In **Overview**, use **Auto-stop** on eligible devices to choose how long they can go without activity before stopping. Choose **Off** to disable the timer, or **Default (N minutes)** when available to use the platform default. See [Idle timeout](https://docs.mobilerun.ai/devices.md#idle-timeout) for activity rules and API settings.

![Manage device dialog with settings sections and the stream toolbar.](https://mintcdn.com/mobilerun/5fhpAhiM6yJPIu5h/images/cloud-devices/manage-light.png?fit=max&auto=format&n=5fhpAhiM6yJPIu5h&q=85&s=3d0f1a8f8b15f4e6f346751a708bbe09)
        ![Manage device dialog with settings sections and the stream toolbar.](https://docs.mobilerun.ai/images/cloud-devices/manage-dark.png)


      \<details><summary>All points</summary>
        \<ol /></details>

> [!NOTE]
>
> Sections depend on device capabilities and current state; check `GET /devices/{deviceId}/capabilities`
> for fields such as `apps`, `files`, `geo`, `proxy`, `esim`, `recording`, and `stop`.## Stop, reset or delete| Action | What stays | Billing | When to use |
| - | - | - | - |
| [Stop](https://docs.mobilerun.ai/devices.md#stop-and-resume-a-device) | Apps, accounts, files, and device identity | No phone credits while stopped | Pause an eligible minute-billed device and continue later |
| [Reset](https://docs.mobilerun.ai/devices.md#reset-a-device) | `full` clears apps, accounts, and storage and changes identity; `identity` keeps apps and data and changes the fingerprint | Reset does not cancel a subscription or end minute billing | Start clean, or request a new fingerprint using the supported reset mode |
| [Delete](https://docs.mobilerun.ai/devices.md#terminate-a-device) | Device data is erased | Ends that minute-billed device session; subscription slots are managed separately | Permanently remove a device you no longer need |### Stop and resumePark an eligible minute-billed device without losing its apps, accounts, files, or identity, then resume the same device later.```typescript TypeScript theme={null}
import { MobilerunSDK } from '@mobilerun/sdk';

const mobilerun = new MobilerunSDK();
const device = mobilerun.devices.fromId('DEVICE_ID');
await device.stop(); // waits until stopped

// Later, resume the same device
await device.resume(); // waits until ready
``````python Python theme={null}
from mobilerun_sdk import MobilerunSDK

mobilerun = MobilerunSDK()
device = mobilerun.devices.from_id("DEVICE_ID")
device.stop()  # waits until stopped

# Later, resume the same device
device.resume()  # waits until ready
``````bash cURL theme={null}
curl --request POST 'https://api.mobilerun.ai/v1/devices/DEVICE_ID/stop' \
  --header "Authorization: Bearer $MOBILERUN_API_KEY"

# Later, resume the same device
curl --request POST 'https://api.mobilerun.ai/v1/devices/DEVICE_ID/resume' \
  --header "Authorization: Bearer $MOBILERUN_API_KEY"
```### ResetChoose what to erase with `mode`, and which API-managed configuration to restore with `preserve`.| Option | What it does | When to use |
| - | - | - |
| `mode: "full"` | Factory reset: erases apps, accounts, and storage, and gives the device a new identity | Start with a clean device |
| `mode: "identity"` | Changes the device fingerprint; apps and data are kept | Request a new identity without wiping app state |
| `preserve: ["proxy"]` | Restores the latest proxy configuration set through the API | Reuse the device's network configuration |
| `preserve: ["location"]` | Restores the latest GPS location set through the API | Keep the configured location |
| `preserve: ["locale"]` | Restores the latest locale (language and region) set through the API | Keep the configured locale |
| `preserve: ["timezone"]` | Restores the latest timezone set through the API | Keep the configured timezone || Device type | `resetPreserve` support |
| - | - |
| Cloud Android | `proxy`, `location`, `locale`, `timezone` |
| Cloud iOS | `[]`: omit `preserve` |
| Personal Phone | Device-dependent subset of `proxy`, `location`, `timezone`; use its reported list. Without reset support, the list is `[]` |Combine preserve values in one array. Omitting `mode` selects `full`, or `identity` on devices whose capabilities report `factoryReset: false`. Omitting `preserve`, passing `null`, or passing an empty array preserves no configuration.> [!NOTE]
>
> Check `GET /v1/devices/{deviceId}/capabilities` before resetting: `reset` indicates reset support, `factoryReset` and `identityReset` indicate the supported modes, and `resetPreserve` is an array of supported preserve values. An unsupported mode or preserve value returns HTTP 400 `DEVICE_TOOL_UNSUPPORTED`. The device reports `resetting` until it becomes `ready` again.The examples below show two alternatives: an identity reset preserving proxy and location, or a full reset preserving no configuration.```typescript TypeScript theme={null}
import { MobilerunSDK } from '@mobilerun/sdk';

const mobilerun = new MobilerunSDK();
const device = mobilerun.devices.fromId('DEVICE_ID');
await device.reset({ mode: 'identity', preserve: ['proxy', 'location'] });

// Factory reset, preserving no configuration
await device.reset({ mode: 'full' });
``````python Python theme={null}
from mobilerun_sdk import MobilerunSDK

mobilerun = MobilerunSDK()
device = mobilerun.devices.from_id("DEVICE_ID")
device.reset(mode="identity", preserve=["proxy", "location"])

# Factory reset, preserving no configuration
device.reset(mode="full")
``````bash cURL theme={null}
curl --request POST 'https://api.mobilerun.ai/v1/devices/DEVICE_ID/reset' \
  --header "Authorization: Bearer $MOBILERUN_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{"mode":"identity","preserve":["proxy","location"]}'

# Factory reset, preserving no configuration
curl --request POST 'https://api.mobilerun.ai/v1/devices/DEVICE_ID/reset' \
  --header "Authorization: Bearer $MOBILERUN_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{"mode":"full"}'
```In the dashboard, **Reset & recreate** offers **Factory reset** and **New identity** where supported; the `preserve` options described above are currently available through the API and SDKs only.### DeleteDeleting erases the device and its data; the API can delete eligible minute-billed devices, while subscription devices must be released from the dashboard.```typescript TypeScript theme={null}
import { MobilerunSDK } from '@mobilerun/sdk';

const mobilerun = new MobilerunSDK();
const device = mobilerun.devices.fromId('DEVICE_ID');
await device.terminate();
``````python Python theme={null}
from mobilerun_sdk import MobilerunSDK

mobilerun = MobilerunSDK()
device = mobilerun.devices.from_id("DEVICE_ID")
device.terminate()
``````bash cURL theme={null}
curl --request DELETE 'https://api.mobilerun.ai/v1/devices/DEVICE_ID' \
  --header "Authorization: Bearer $MOBILERUN_API_KEY"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.