---
title: "Provide a single resource - Attribute"
method: GET
path: "/attributes/{id}"
tags: ["Data Model"]
---

# Provide a single resource - Attribute

`GET /attributes/{id}`

Retrieves a attributes resource.

## Path parameters

- `id` string, required

## Response `200`

attributes resource

- AttributesEavAttributeOutput
  - `type` 'date' | 'decimal' | 'html_text' | 'integer' | 'json' | 'localized_text' | 'multi_select' | 'multiline_text' | 'simple_select' | 'switch' | 'time' | 'unlocalized_text'
  - `helpText` LanguageTranslation — This structure does accept key & values where key has to be a language code configured in your PIM & the value is the value for this field in this language.
    - `fr-FR` string
    - `en-US` string
  - `isVisible` boolean
  - `isEditable` boolean
  - `isFilterable` boolean
  - `isPrimary` boolean
  - `isRequired` boolean
  - `isAIEnabled` boolean
  - `isComputed` boolean
  - `attributeSets` object[]
    - `id` string
  - `options` object — Additional options that may apply to specific types
    - `decimalPrecision` integer — Required when type is 'decimal'
    - `maxCharactersAllowed` integer, nullable — Only used when type is 'multiline_text' or 'localized_text', if not given or null, no limit will be set
  - `dateCreated` string, date-time, nullable — This is an ISO datetime
  - `dateModified` string, date-time, nullable — This is an ISO datetime
  - `attributeGroup` EmbedAttributeGroup
    - `id` string
  - `documentType` string, iri-reference
  - `aiTemplate` string, iri-reference, nullable
  - `id` string — This is the unique identifier of the resource
  - `description` LanguageTranslation — This structure does accept key & values where key has to be a language code configured in your PIM & the value is the value for this field in this language.
    - `fr-FR` string
    - `en-US` string
  - `name` LanguageTranslation — This structure does accept key & values where key has to be a language code configured in your PIM & the value is the value for this field in this language.
    - `fr-FR` string
    - `en-US` string
  - `documentTypeCode` string — This is the unique identifier of the document type that the resource should be apply to
  - `legacyId` integer
  - `AITemplate` string, iri-reference, nullable

## Other responses

- `404` — Resource not found

---

[API](https://skmtc.net/quable/apis/quable-pim-api-documentation-v5.md) · [All operations](https://skmtc.net/quable/apis/quable-pim-api-documentation-v5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quable/quable-pim-api-documentation-v5/versions/1641096abb34/schema)
