---
title: "Returns all attributes"
method: GET
path: "/attribute"
tags: ["Attribute"]
---

# Returns all attributes

`GET /attribute`

## Request

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

## Query parameters

- `searchTerm` string
- `sources` ApiAttributeSource[]
- `types` ApiAttributeType[]
- `dataTypes` ApiAttributeDataType[]
- `cacheStatuses` CacheStatusApiModel[]
- `tags` ApiAttributeTag[]
- `limit` integer
- `offset` integer

## Response `200`

OK

- AttributeApiModels
  - `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` AttributeApiModel[]: The retrieved records.
    - `Id` integer
    - `Name` string
    - `UrlName` string
    - `Source` 'Category' | 'Feed' | 'External' | 'Derived' | 'Analytics'
    - `Type` 'Sql' | 'Range' | 'Replace' | 'TopList' | 'Combined' | 'SqlReplace' | 'Divide' | 'Split' | 'Concatenate' | 'AiEmbedding'
    - `DataType` 'Text' | 'Number'
    - `HiddenFilter` boolean
    - `CacheStatus` 'Valid' | 'Outdated' | 'PendingUpdate' | 'Updating'
    - `UpdatedBy` 'Unknown' | 'Feed' | 'External' | 'Api' | 'GA4'

---

[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)
