---
title: ListOptions
source: https://github.com/remix-run/remix/blob/remix@3.0.0-beta.3/packages/file-storage/src/lib/file-storage.ts#L143
---

# ListOptions

## Summary

Options for listing files in storage.

## Signature

```ts
interface ListOptions {
  cursor?: string;
  includeMetadata?: boolean;
  limit?: number;
  prefix?: string;
}

```

## Properties

### `cursor`

An opaque string that allows you to paginate over the keys in storage.

### `includeMetadata`

If `true`, include file metadata in the result.

### `limit`

The maximum number of files to return.

### `prefix`

Only return files with keys that start with this prefix.