---
search:
  tags:
    - files
    - GET
seo:
  description: >-
    The directory's entries, sorted by name, without following symbolic…
    Reference for the GET /v1/sandboxes/{sandbox}/files/list endpoint in the
    pols.so API.
sidebar:
  label: List a directory in a running sandbox
  badge: GET
title: List a directory in a running sandbox
type: openapi-operation
---
The directory's entries, sorted by name, without following symbolic
links: at most 10,000 (an arbitrary 10,000 of a larger directory,
with `truncated`). 400 `bad_request` for a path that is not a
directory, 403 `forbidden` for one the user may not read.

`GET /v1/sandboxes/{sandbox}/files/list`
