---
title: "Get Cluster Resources (per node)"
method: GET
path: "/cluster/resources"
tags: ["Cluster"]
---

# Get Cluster Resources (per node)

`GET /cluster/resources`

Fetch jails & VMs for each cluster node (live)

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseArrayGithubComAlchemillahqSylveInternalInterfacesServicesClusterNodeResources
  - `data` GithubComAlchemillahqSylveInternalInterfacesServicesClusterNodeResources[]
    - `hostname` string
    - `jailTemplates` GithubComAlchemillahqSylveInternalInterfacesServicesJailSimpleTemplateList[]
      - `id` integer
      - `name` string
      - `sourceJailName` string
    - `jails` GithubComAlchemillahqSylveInternalInterfacesServicesJailSimpleList[]
      - `cores` integer
      - `ctId` integer
      - `id` integer
      - `memory` integer
      - `name` string
      - `resourceLimits` boolean
      - `state` string
    - `nodeUUID` string
    - `vmTemplates` GithubComAlchemillahqSylveInternalInterfacesServicesLibvirtSimpleTemplateList[]
      - `id` integer
      - `name` string
      - `sourceVmName` string
    - `vms` 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

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

## Changes

- **2026-08-12** `9a5026bf9057` — 2 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
- **2025-09-19** `dc875965a5da` — 1 info
  - endpoint added
- **2025-03-11** `2b736ca1b025` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/alchemillahq/apis/sylve-api/changes/cluster/resources/get.md)

---

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