# List virtual machines

`GET /v1/service/@id/vms` · scope `services:read`

Virtual machines of the VPS service.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/service/@id/vms` |
| Method | `GET` |
| Scope | `services:read` |
| Header | `Authorization: Bearer <token>` |
| Content-Type | — (no body) |
| Tokens that can call it | app tokens (`tinoat_`), personal API tokens (`tinopat_`) |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | Service ID |

## Example request

```bash
curl "https://api.tino.vn/v1/service/100001/vms" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` is a token with the scope `services:read`. Path parameters in the example are sample values.

SDK ([SDK & examples](/en/docs/sdk)): Python `client.vms.list(id)`, Node.js `await client.vms.list(id);`, PHP `$client->vms->list($id);`.

## Example response

```json
{
 "vms": {
  "600001": {
   "id": 600001,
   "ha": false,
   "built": true,
   "locked": false,
   "power": true,
   "status": "running",
   "status_lang": "vm_state_running",
   "password": "<redacted>",
   "sshkeys": [
    "ssh-ed25519 AAAA<public-key> user@example.com"
   ],
   "username": "root",
   "memory": 1024,
   "disk": 20,
   "swap": null,
   "additional_storage": [],
   "uptime": 639603,
   "template_id": "template-vm:321/321/base-321-disk-0.raw",
   "template_name": "Ubuntu 26.04",
   "template_data": [],
   "replication": false,
   "cloudinit": true,
   "…": "14 more key(s)"
  }
 }
}
```

Live sample from a test account with personal data masked; long arrays and strings are trimmed (`… N more item(s)`, `… N more line(s)`).
