# devices.capabilities

`GET /api/public/v1/devices/capabilities`

What each machine supports right now — CDP attach (same machine only), headless, profile sync, storage key, remote view, automation, synchronizer, AI agent, AdsPower-compatible API — with the worker version each needs, capacity and running sessions; device_id narrows to one machine.

- Capability: `device.read`
- Command: no
- MCP tool: `devices_capabilities`

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `device_id` | query | string (uuid) | no |  |

## Response

`200` with `{ data, correlation_id }`.

| Field | Type | Always present | Description |
|---|---|---|---|
| `data` | array<object> | yes |  |
| `data[].id` | string (uuid) | yes |  |
| `data[].name` | string | yes |  |
| `data[].os` | "windows" \| "linux" | yes |  |
| `data[].state` | string | yes |  |
| `data[].freshness` | string | yes |  |
| `data[].worker_version` | string \| null | yes |  |
| `data[].running` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `data[].capacity` | integer | yes | (min -9007199254740991, max 9007199254740991) |
| `data[].core` | object \| null | yes |  |
| `data[].core.features` | array<string> | yes |  |
| `data[].features` | object | yes | Per feature: supported now, and the worker version that adds it when not |
| `correlation_id` | string (uuid) | yes |  |

New fields can appear at any time; ignore the ones you do not know.

## Errors

| Code | HTTP | Retryable |
|---|---|---|
| `UNAUTHENTICATED` | 401 | no |
| `FORBIDDEN` | 403 | no |
| `RATE_LIMITED` | 429 | yes |
| `VALIDATION_FAILED` | 422 | no |
| `DEPENDENCY_UNAVAILABLE` | 503 | yes |
| `UNKNOWN` | 500 | no |

## Example (curl)

```bash
curl "https://browlix.com/api/public/v1/devices/capabilities" \
  -H "Authorization: Bearer $BROWLIX_API_KEY"
```

## Example (TypeScript SDK)

```ts
import { Browlix } from "@browlix/sdk";

const bx = new Browlix({ apiKey: process.env.BROWLIX_API_KEY! });
const reply = await bx.call("devices.capabilities");
console.log(reply.data);
```

## Example (Python)

```python
import os
import requests

r = requests.get(
    "https://browlix.com/api/public/v1/devices/capabilities",
    headers={"Authorization": f"Bearer {os.environ['BROWLIX_API_KEY']}"},
    timeout=60,
)
print(r.status_code, r.json())
```

## Example (MCP)

```json
{
  "method": "tools/call",
  "params": {
    "name": "devices_capabilities",
    "arguments": {}
  }
}
```
