---
title: "Get all ZFS Datasets with Pagination"
method: GET
path: "/zfs/datasets/paginated"
tags: ["ZFS"]
---

# Get all ZFS Datasets with Pagination

`GET /zfs/datasets/paginated`

Get all ZFS Datasets with Pagination

## Request body

- GithubComAlchemillahqSylveInternalInterfacesServicesZfsPaginatedDatasetsRequest
  - `-` GithubComAlchemillahqSylveInternalInterfacesServicesZfsSortParam[]
    - `dir` string
    - `field` string
  - `datasetType` 'ALL' | 'FILESYSTEM' | 'VOLUME' | 'SNAPSHOT', required
  - `nameFilter` string
  - `page` integer
  - `search` string
  - `size` integer

## Response `200`

OK

- GithubComAlchemillahqSylveInternalInterfacesServicesZfsPaginatedDatasetsResponse
  - `data` GzfsDataset[]
    - `available` integer
    - `compressratio` number
    - `createtxg` string
    - `guid` string
    - `mountpoint` string
    - `name` string
    - `pool` string
    - `properties` object
    - `referenced` integer
    - `type` 'ALL' | 'FILESYSTEM' | 'VOLUME' | 'SNAPSHOT'
    - `used` integer
  - `last_page` integer

## 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/950e51f8af98/schema)
