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

# Filter preset

## FilterPreset Objects

```python theme={"dark"}
class FilterPreset()
```

Represents preset in Index.
Preset is a group of filters persisted which can be reused for faster data curation.

#### uuid

```python theme={"dark"}
@property
def uuid() -> UUID
```

Get the preset uuid (i.e. the preset ID).

**Returns**:

* `str` - The preset uuid.

#### name

```python theme={"dark"}
@property
def name() -> str
```

Get the preset name

**Returns**:

* `str` - The preset name.

#### description

```python theme={"dark"}
@property
def description() -> Optional[str]
```

Get the preset description

**Returns**:

* `Optional[str]` - The preset description.

#### created\_at

```python theme={"dark"}
@property
def created_at() -> Optional[datetime]
```

Get the preset creation timestamp

**Returns**:

* `Optional[datetime]` - The preset creation timestamp.

#### last\_updated\_at

```python theme={"dark"}
@property
def last_updated_at() -> Optional[datetime]
```

Get the preset last update timestamp

**Returns**:

* `Optional[datetime]` - The preset last update timestamp.

#### update\_preset

```python theme={"dark"}
def update_preset(name: Optional[str] = None,
                  description: Optional[str] = None,
                  filter_preset_json: Optional[dict] = None) -> None
```

Update the preset's definition.

**Arguments**:

* `name` *Optional\[str]* - The new name for the preset.
* `description` *Optional\[str]* - The new description for the preset.
* `filter_preset_json` *Optional\[dict]* - The new filters for the preset in their raw json format.

## ProjectFilterPreset Objects

```python theme={"dark"}
class ProjectFilterPreset()
```

Represents Active filter presets.

#### uuid

```python theme={"dark"}
@property
def uuid() -> UUID
```

Get the filter preset unique identifier (UUID).

**Returns**:

* `UUID` - The filter preset UUID.

#### name

```python theme={"dark"}
@property
def name() -> str
```

Get the filter preset name.

**Returns**:

* `str` - The collection name.

#### created\_at

```python theme={"dark"}
@property
def created_at() -> Optional[datetime]
```

Get the filter preset creation timestamp.

**Returns**:

* `Optional[datetime]` - The timestamp when the filter preset was created, or None if not available.

#### updated\_at

```python theme={"dark"}
@property
def updated_at() -> Optional[datetime]
```

Get the filter preset last edit timestamp.

**Returns**:

* `Optional[datetime]` - The timestamp when the filter preset was last edited, or None if not available.

#### project\_hash

```python theme={"dark"}
@property
def project_hash() -> UUID
```

Get the project hash of the filter preset.

**Returns**:

* `UUID` - The project hash of the filter preset.
