---
title: "Returns an attribute"
method: GET
path: "/attribute/{id}"
tags: ["Attribute"]
---

# Returns an attribute

`GET /attribute/{id}`

## Request

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

## Path parameters

- `id` integer, required

## Response `200`

OK

- AttributeApiModel
  - `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'

## Other responses

- `404`: Not Found

---

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