> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/attributes/llms.txt)
> Source: https://docs.saleor.io/api-reference/attributes/interfaces/object-with-attributes

# ObjectWithAttributes Interface

An object with attributes.

Added in Saleor 3.22

```graphql
interface ObjectWithAttributes {
  assignedAttribute(slug: String!): AssignedAttribute
  assignedAttributes(limit: PositiveInt = 100): [AssignedAttribute!]!
}
```

<a id="fields"></a>

### Fields

<a id="assigned-attribute"></a>

#### [`assignedAttribute`](#assigned-attribute) ● [`AssignedAttribute`](/api-reference/attributes/interfaces/assigned-attribute.md)

Get a single attribute attached to the object by attribute slug.

Added in Saleor 3.22

<a id="object-with-attributes-assigned-attribute-slug"></a>

##### [`slug`](#object-with-attributes-assigned-attribute-slug) ● [`String!`](/api-reference/miscellaneous/scalars/string.md)

Slug of the attribute

<a id="assigned-attributes"></a>

#### [`assignedAttributes`](#assigned-attributes) ● [`[AssignedAttribute!]!`](/api-reference/attributes/interfaces/assigned-attribute.md)

List of attributes assigned to the object.

Added in Saleor 3.22

<a id="object-with-attributes-assigned-attributes-limit"></a>

##### [`limit`](#object-with-attributes-assigned-attributes-limit) ● [`PositiveInt`](/api-reference/miscellaneous/scalars/positive-int.md)

Maximum number of attributes to return. Default is 100.

<a id="implemented-by"></a>

### Implemented By

[`Page`](/api-reference/pages/objects/page.md) object  ● [`Product`](/api-reference/products/objects/product.md) object  ● [`ProductVariant`](/api-reference/products/objects/product-variant.md) object  ● [`User`](/api-reference/users/objects/user.md) object
