# Saved views

> Save a set of filters as a view and open it again in one click.

Every section below does the same job: in the dashboard (Guide), from your code (API) or through an AI assistant (MCP).

## Guide — In the dashboard

Source: /docs/leads/saved-filters

Filter the table the way you like it once, save it as a view, and come back to it any time.

<DemoFrame guide="leads-saved-filters" to="/identify/{workspace}?tab=visitors" />

1. **Filter the table.**
2. **Save as view** and give it a name.
3. **Set default** to open it every time.


---

## API — From your code

Source: /docs/leads/saved-filters/api

Authenticated with `?privateKey=YOUR_KEY` (see [Authentication](/docs/authentication)).

<Endpoints ops={["GET /admin/filters", "POST /admin/filters", "PATCH /admin/filters/{id}", "DELETE /admin/filters/{id}"]} />

<ApiPlayground
  ops={["GET /admin/filters", "POST /admin/filters", "PATCH /admin/filters/{id}", "DELETE /admin/filters/{id}"]}
  method="get"
  path="/admin/filters"
  tool="list_filters"
  args={`{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9"
}`}
/>

### Use case: List your saved views [#use-case-list-your-saved-views]

`GET /admin/filters?websiteId=…` returns each view with its name and filters.


---

## MCP — AI agents

Source: /docs/leads/saved-filters/mcp

Connect the [MCP server](/docs/mcp#quickstart), then just ask.

<Tools names={["list_filters", "create_filter", "update_filter", "delete_filter"]} />

### Use case [#use-case]

> Show me my saved views.

<McpToolCall name="list_filters">

```json
{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9"
}
```

</McpToolCall>

