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

# Cookies & consents

> List, update, and export cookies and consent records with the Katla CLI.

## Cookies

### List cookies

```bash theme={null}
katla cookies ls example.com
katla cookies ls example.com --category analytics
```

Shows a summary of cookies by category and a detailed table.

### Update a cookie's category

```bash theme={null}
katla cookies update example.com _ga analytics
```

Valid categories: `functional`, `personalization`, `analytics`, `marketing`, `security`, `unknown`.

### Export cookies to CSV

```bash theme={null}
katla cookies export example.com
katla cookies export example.com --output my-cookies.csv
```

Defaults to `{domain}_cookies.csv` in the current directory.

## Consent records

### List consent records

```bash theme={null}
katla consents ls example.com
katla consents ls example.com --limit 100
```

Shows consent statistics and a table of recent records.

### Export consent records to CSV

```bash theme={null}
katla consents export example.com
katla consents export example.com --output my-consents.csv
```
