---
title: "Returns all filter templates"
method: GET
path: "/filtertemplate"
tags: ["Filter templates"]
---

# Returns all filter templates

`GET /filtertemplate`

## Request

- The document declares no server URL.
- Auth: API key in header `TWN-InstanceKey` and API key in header `TWN-Authentication`

## Query parameters

- `limit` integer
- `offset` integer
- `searchTerm` string

## Response `200`

OK

- FilterTemplateApiModels
  - `Total` integer, nullable, required: The total number of records which can be retrieved. Note that this field is not available for all paginated endpoints.
  - `Records` FilterTemplateApiModel[], required: The retrieved records.
    - `FilterTemplateId` integer
    - `AttributeCount` integer
    - `Usages` ApiFilterTemplateUsageModel[]
      - `Attribute` string
      - `AttributeValue` string
      - `Key` string
      - `Type` 'Category' | 'LandingPage' | 'SelectionGuide' | 'AbTest' | 'BoostAndBury'
      - `Name` string
      - `Status` 'Active' | 'InActive'
    - `Name` string
    - `AiAssistantEnabled` boolean
    - `MaxFacets` integer, nullable
    - `NumberOfExpandedFacets` integer, nullable

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/tweakwise/apis/app-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/app-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/app-api/revisions/dc936bf76941?raw)
