---
title: "Get Pools"
method: GET
path: "/zfs/pools"
tags: ["ZFS"]
---

# Get Pools

`GET /zfs/pools`

Get all ZFS pools

## Query parameters

- `all` boolean

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseArrayGzfsZPool
  - `data` GzfsZPool[]
    - `allocated` integer
    - `dedup` object
    - `dedup_ratio` number
    - `fragmentation` number
    - `free` integer
    - `l2cache` object
    - `logs` object
    - `name` string
    - `pool_guid` string
    - `properties` object
    - `size` integer
    - `spa_version` string
    - `spares` object
    - `special` object
    - `state` 'ONLINE' | 'DEGRADED' | 'FAULTED' | 'OFFLINE' | 'REMOVED' | 'UNAVAIL' | 'CORRUPT_DATA' | 'UNKNOWN'
    - `txg` string
    - `type` string
    - `zpl_version` string
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `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/7a7bea85004e/schema)
