---
title: "Get a simple Virtual Machine by RID"
method: GET
path: "/vm/simple/{rid}"
tags: ["VM"]
---

# Get a simple Virtual Machine by RID

`GET /vm/simple/{rid}`

Retrieve a simple virtual machine object by its resource ID (RID)

## Path parameters

- `rid` integer, required

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseGithubComAlchemillahqSylveInternalInterfacesServicesLibvirtSimpleList
  - `data` GithubComAlchemillahqSylveInternalInterfacesServicesLibvirtSimpleList
    - `cpuPinning` GithubComAlchemillahqSylveInternalDbModelsVmVMCPUPinning[]
      - `hostCpu` integer[]
      - `hostSocket` integer
      - `id` integer
      - `vmId` integer
    - `hasEnabledFilesystemStorage` boolean
    - `id` integer
    - `name` string
    - `rid` integer
    - `state` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7
    - `vncPort` integer
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.net/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/revisions/9822c41c8ac0/schema)
