> ## Documentation Index > Fetch the complete documentation index at: https://docs.mapp.com/llms.txt > Use this file to discover all available pages before exploring further. # Get all attributes assigned to a catalog > Returns all active attributes assigned to the specified catalog. Inactive attributes are not returned by this endpoint. ## OpenAPI ````json GET /api/product-catalog/v1/catalogs/metadata/attribute/{catalogId} { "openapi": "3.0.1", "info": { "title": "Product Catalog - Public API", "version": "1.0.3" }, "servers": [ { "url": "https://api.mapp.com" } ], "security": [ { "Keycloak": [] } ], "tags": [ { "name": "Variant Data Bulk Operations", "description": "Endpoints for variant data bulk operations" }, { "name": "Variant Data Operations", "description": "Endpoints for variant data operations" }, { "name": "Catalog Metadata Operations", "description": "Endpoints for catalog metadata operations" }, { "name": "Product Data Operations", "description": "Endpoints for product data operations" } ], "paths": { "/api/product-catalog/v1/catalogs/metadata/attribute/{catalogId}": { "get": { "tags": [ "Catalog Metadata Operations" ], "summary": "Get all attributes assigned to a catalog", "description": "Returns all active attributes assigned to the specified catalog. Inactive attributes are not returned by this endpoint.", "operationId": "getCatalogAttributes", "parameters": [ { "name": "catalogId", "in": "path", "description": "Catalog identifier whose assigned attributes should be returned.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Catalog attributes found", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CatalogAttributeDTO" } }, "example": [ { "name": "color", "dataType": "MAP", "localizedAttributeKeyType": "LANGUAGE_COUNTRY", "localizedAttributeValueType": "STRING", "catalogType": "SOURCE" }, { "name": "price", "dataType": "MAP", "localizedAttributeKeyType": "COUNTRY", "localizedAttributeValueType": "DECIMAL", "catalogType": "SOURCE" }, { "name": "enrichment_type", "dataType": "STRING", "localizedAttributeKeyType": null, "localizedAttributeValueType": null, "catalogType": "SOURCE" }, { "name": "fashion_material", "dataType": "STRING", "localizedAttributeKeyType": null, "localizedAttributeValueType": null, "catalogType": "ENRICHED" } ] } } }, "204": { "description": "No active attributes are assigned to the catalog." }, "500": { "description": "Unexpected error while fetching catalog attributes.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" }, "example": { "message": "Unexpected error while processing request", "httpStatus": 500, "errorCode": "500 Internal Server Error", "timestamp": "2026-07-08T12:00:00Z" } } } } } } } }, "components": { "schemas": { "CatalogAttributeDTO": { "type": "object", "properties": { "name": { "type": "string", "description": "Unique attribute name as defined in the catalog" }, "dataType": { "type": "string", "description": "Data type of a catalog attribute value:\n- `STRING` — plain text value (e.g. `\"blue\"`)\n- `NUMBER` — integer or decimal value (e.g. `42`, `3.14`)\n- `BOOLEAN` — boolean value (`true` or `false`)\n- `JSON` — arbitrary JSON object (e.g. `{\"key\": \"value\"}`)\n- `MAP` — flat key-value map (e.g. `{\"en\": \"blue\", \"de\": \"blau\"}`)\n- `LIST` — ordered list of scalar values (e.g. `[\"S\", \"M\", \"L\"]`)\n- `LIST_OF_MAPS` — list of key-value maps (e.g. `[{\"color\": \"red\"}, {\"color\": \"blue\"}]`)\n- `MAP_OF_LISTS` — map where each key holds a list of values (e.g. `{\"sizes\": [\"S\", \"M\"], \"colors\": [\"red\"]}`)", "enum": [ "STRING", "NUMBER", "BOOLEAN", "JSON", "MAP", "LIST", "LIST_OF_MAPS", "MAP_OF_LISTS" ] }, "localizedAttributeKeyType": { "type": "string", "description": "Type of localized attribute key, determining the expected key format:\n- `COUNTRY_CODE` — ISO 3166-1 alpha-2 two-letter country code (e.g. `US`, `DE`)\n- `LANGUAGE_CODE` — ISO 639-1 two-letter language code (e.g. `en`, `de`)\n- `LANGUAGE_CODE_COUNTRY_CODE` — BCP 47 language-country tag, hyphen-separated (e.g. `en-US`, `de-DE`)\n- `CURRENCY` — ISO 4217 three-letter currency code (e.g. `USD`, `EUR`)\n- `NUMBER` — numeric value, integer or decimal (e.g. `42`, `3.14`)\n- `STRING` — arbitrary string value", "enum": [ "COUNTRY_CODE", "LANGUAGE_CODE", "LANGUAGE_CODE_COUNTRY_CODE", "CURRENCY", "NUMBER", "STRING" ] }, "localizedAttributeValueType": { "type": "string", "description": "Type of localized attribute value, determining the expected value format:\n- `STRING` — arbitrary string value (e.g. `sample text`)\n- `NUMBER` — numeric value, integer or decimal (e.g. `42`, `3.14`)\n- `BOOLEAN` — boolean value (`true` or `false`)\n- `COUNTRY_CODE` — ISO 3166-1 alpha-2 two-letter country code (e.g. `US`, `DE`)\n- `LANGUAGE_CODE` — ISO 639-1 two-letter language code (e.g. `en`, `de`)\n- `CURRENCY` — ISO 4217 three-letter currency code (e.g. `USD`, `EUR`)\n- `LANGUAGE_CODE_COUNTRY_CODE` — BCP 47 language-country tag, hyphen-separated (e.g. `en-US`, `de-DE`)", "enum": [ "STRING", "NUMBER", "BOOLEAN", "COUNTRY_CODE", "LANGUAGE_CODE", "CURRENCY", "LANGUAGE_CODE_COUNTRY_CODE" ] }, "catalogType": { "type": "string", "description": "Catalog data layer this attribute originates from", "enum": [ "SOURCE", "ENRICHED", "COMBINED" ] } }, "description": "Represents a single product catalog attribute with its data type and optional localization metadata" }, "ErrorResponse": { "type": "object", "properties": { "message": { "type": "string" }, "httpStatus": { "type": "integer", "format": "int32" }, "errorCode": { "type": "string" }, "timestamp": { "type": "string", "format": "date-time" } } } }, "securitySchemes": { "Keycloak": { "type": "http", "scheme": "bearer", "bearerFormat": "JWT" } } } } ````