# Get Attribute Sets

Returns all attribute sets defined for the tenant, each including its name, identifier, and form layout configuration for Products and Variants (ProductLayout, VariantLayout).

See also: A legacy OData-style version of this endpoint is available at GET /AttributeSets.

## Authentication

Requires a valid API key in the X-API-KEY header.

## Response

200 OK — GetAttributeSetsResponse containing the list of attribute sets.

## Error Responses

- 401 Unauthorized — Missing or invalid tenant identifier.
- 500 Internal Server Error — Unexpected technical error.

## Example

Request:
http
GET /v2/AttributeSets HTTP/1.1
X-API-KEY: your-api-key-here

Response:
http
HTTP/1.1 200 OK
Content-Type: application/json

Endpoint: GET /v2/AttributeSets
Version: 2.0.0

## Response 200 fields (application/json):

- `@readLink` (string,null)

- `@nextLink` (string,null)

- `@deltaLink` (string,null)

- `@context` (string,null)

- `value` (any,null)

- `@count` (integer,null)

## Response 401 fields (application/json):

- `type` (string,null)

- `title` (string,null)

- `status` (integer,null)

- `detail` (string,null)

- `instance` (string,null)

## Response 500 fields (application/json):

- `error` (string,null)

- `details` (any,null)
