---
title: "Get Agent folders by path"
method: GET
path: "/agents/{id}/fs/folderslist"
tags: ["Agents"]
---

# Get Agent folders by path

`GET /agents/{id}/fs/folderslist`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/agents/{id}/fs/folderslist`
- Auth: API key in header `Authorization`

Returns the list of folders on the Agent's file system or Storage connector.

## Path parameters

- `id` number, required

## Query parameters

- `path` string
- `storageId` number
- `continuationToken` string
- `minEntries` number
- `maxEntries` number

## Response `200`

Successful response

- object

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

[API](https://skmtc.dev/resilio/apis/resilio-api.md) - [All operations](https://skmtc.dev/resilio/apis/resilio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/resilio/apis/resilio-api/revisions/ca39130a395e?raw)
