Skip to main content
GET
/
devices
/
{deviceId}
/
proxy
JavaScript
import Mobilerun from '@mobilerun/sdk';

const client = new Mobilerun({
  apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});

const response = await client.devices.proxy.status('deviceId');

console.log(response.connected);
{
  "connected": true,
  "name": "<string>",
  "protocol": "<string>",
  "$schema": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token via Authorization header

Headers

X-Device-Display-ID
integer<int64>
default:0
Required range: x >= 0

Path Parameters

deviceId
string
required

Response

OK

connected
boolean
required
name
string | null
required

Active proxy name

protocol
string | null
required

Active proxy protocol (socks5).

$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://example.com/schemas/GetProxyInfo.json"