> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dreep.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# List Presets

> List saved presets with client.list_presets().

Every saved preset on the project.

```python theme={null}
for preset in client.list_presets():
    print(preset.key, preset.params)
```

## Signature

```python theme={null}
client.list_presets(*, timeout=NOT_GIVEN) -> list[Preset]
```

Returns a plain list — presets aren't paginated.

```python theme={null}
preset.id      # "4c2a91e0-…"
preset.key     # "thumb"
preset.name    # "Thumbnail"
preset.params  # {"width": 200, "height": 200, "fit": "cover", "format": "webp"}
```

## Finding one by key

Delivery URLs use the `key`, while [`delete_preset()`](https://docs.dreep.cloud/python-sdk/presets/delete-preset)
takes the `id`, so this is the usual way to get from one to the other:

```python theme={null}
presets = {p.key: p for p in client.list_presets()}

client.delete_preset(presets["thumb"].id)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.