# Get Metadata Template "Retrieve the metadata template and its attributes list by template ID \n\nThe user submitting the request to metadata template must have the Metadata Template Management security role privilege.\n\nIn response, it will contain the metadata groups template have and each group metadata attributes list." Average Response Time: 1406ms Endpoint: GET /metadata/template/{id} Version: 1.5 Security: ApiKeyAuth, BasicAuth ## Header parameters: - `X-API-Key` (string, required) Customer-specific API key required to invoke API. - `Authorization` (string, required) Provided by Authentication Token creation operation - `Content-Type` (string, required) Enum: "application/json" ## Path parameters: - `id` (string, required) Specify a Metadata Template ID. ## Response 200 fields (application/json): - `templateId` (string) Unique ID of the metadata template. Example: "0a5d6320-7e8c-43f3-b32a-7a32bcf2b261" - `templateName` (string) Display name of the metadata template. Example: "Product Shot" - `createdEpoch` (integer) Creation timestamp in Unix milliseconds. Example: 1774035316248 - `lastUpdatedEpoch` (integer) Last updated timestamp in Unix milliseconds. Example: 1779214564563 - `templateType` (array) Template type classifications. Enum: "default", "asset", "action" - `template` (object) The denormalized template structure containing metadata groups. - `template.metadataGroups` (array) Ordered list of metadata groups with fully resolved attributes. - `template.metadataGroups.groupOrder` (integer) Display order of this group within the template. Example: 1 - `template.metadataGroups.metadataGroupName` (string) Display name of the group. Example: "Product Information" - `template.metadataGroups.metadataGroupSearchField` (string) System-generated slug for the group. Example: "product_information" - `template.metadataGroups.securityPermissions` (array) Security permissions applied to this group. Empty array if none. - `template.metadataGroups.metadataAttributes` (array) Ordered list of attributes in this group. The shape of each attribute varies by type: - text (subType: textBox) — includes length, typeahead, techMetaMapping. Max 250 chars, supports faceting. - text (subType: textArea) — includes length, techMetaMapping. Max 10000 chars. Cannot be facetable or typeahead. - controlledVocabulary — includes controlledVocabularyId, isMultipleSelect - date — includes dateFormat - tableAttribute — includes tableFieldsDenormalized, isSingleRow, isSmartTable, tableNameVisible - cascadeAttribute — includes cascadeMapId, cascadeFieldsDenormalized, cascadeNameVisible ## Response 400 fields (application/json): - `message` (string) - `detail` (string) ## Response 401 fields (application/json): - `message` (string) - `detail` (string) ## Response 403 fields (application/json): - `message` (string) - `detail` (string)