MillCertTagRules
List all mill cert tag rules
Retrieves all mill cert tag rules for the specified company, including linked tag information.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List all mill cert tag rules › Responses
List of mill cert tag rules
createdAtTimestamp when the rule was created (UTC)
updatedAtTimestamp when the rule was last updated (UTC)
tagNameName of the linked tag
tagColorColor of the linked tag
ruleIdUnique identifier for the rule
companyIdIdentifier of the owning company
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated
activeWhether the rule exists (false = soft-deleted)
lastModifiedByID of the user who last modified this rule
isSystemRuleTrue for rules provisioned by a subscribed Rule Pack — read-only (cannot be edited), but can be deleted
Create new mill cert tag rule
Creates a new mill cert tag rule for the specified company. The rule will be automatically evaluated against existing mill certs. Returns 409 Conflict if a soft-deleted rule with the same name already exists.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Create new mill cert tag rule › Request Body
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated
Create new mill cert tag rule › Responses
Rule created successfully
ruleIdUnique identifier for the rule
companyIdIdentifier of the owning company
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated
activeWhether the rule exists (false = soft-deleted)
lastModifiedByID of the user who last modified this rule
isSystemRuleTrue for rules provisioned by a subscribed Rule Pack — read-only (cannot be edited), but can be deleted
Get mill cert tag rule
Retrieves a specific mill cert tag rule by ID with linked tag information.
path Parameters
companyIdThe unique identifier of the company
ruleIdThe unique identifier of the rule
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Get mill cert tag rule › Responses
The mill cert tag rule
createdAtTimestamp when the rule was created (UTC)
updatedAtTimestamp when the rule was last updated (UTC)
tagNameName of the linked tag
tagColorColor of the linked tag
ruleIdUnique identifier for the rule
companyIdIdentifier of the owning company
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated
activeWhether the rule exists (false = soft-deleted)
lastModifiedByID of the user who last modified this rule
isSystemRuleTrue for rules provisioned by a subscribed Rule Pack — read-only (cannot be edited), but can be deleted
Update mill cert tag rule
Updates an existing mill cert tag rule. The rule will be re-evaluated against all mill certs.
path Parameters
companyIdThe unique identifier of the company
ruleIdThe unique identifier of the rule
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Update mill cert tag rule › Request Body
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated
Update mill cert tag rule › Responses
Rule updated successfully
ruleIdUnique identifier for the rule
companyIdIdentifier of the owning company
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated
activeWhether the rule exists (false = soft-deleted)
lastModifiedByID of the user who last modified this rule
isSystemRuleTrue for rules provisioned by a subscribed Rule Pack — read-only (cannot be edited), but can be deleted
Soft-delete mill cert tag rule
Soft-deletes a mill cert tag rule. The rule is marked inactive and hidden from the rules list.
path Parameters
companyIdThe unique identifier of the company
ruleIdThe unique identifier of the rule
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Soft-delete mill cert tag rule › Responses
Rule soft-deleted successfully
Get mill cert tag rule change history
Returns the full temporal audit history for a mill cert tag rule, most recent changes first.
path Parameters
companyIdThe unique identifier of the company
ruleIdThe unique identifier of the rule
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Get mill cert tag rule change history › Responses
Audit history returned successfully
changedAtchangedByIdchangedByNamechangeTypeentityTypeentityLabelList deleted mill cert tag rules
Retrieves all soft-deleted mill cert tag rules for the specified company.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List deleted mill cert tag rules › Responses
List of soft-deleted mill cert tag rules
createdAtTimestamp when the rule was created (UTC)
updatedAtTimestamp when the rule was last updated (UTC)
tagNameName of the linked tag
tagColorColor of the linked tag
ruleIdUnique identifier for the rule
companyIdIdentifier of the owning company
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated
activeWhether the rule exists (false = soft-deleted)
lastModifiedByID of the user who last modified this rule
isSystemRuleTrue for rules provisioned by a subscribed Rule Pack — read-only (cannot be edited), but can be deleted
Restore soft-deleted mill cert tag rule
Restores a soft-deleted mill cert tag rule and triggers re-evaluation of mill cert tagging so that matching mill certs regain the rule-assigned tag.
path Parameters
companyIdThe unique identifier of the company
ruleIdThe unique identifier of the rule to restore
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Restore soft-deleted mill cert tag rule › Responses
Rule restored successfully
ruleIdUnique identifier for the rule
companyIdIdentifier of the owning company
tagIdTag to assign when rule matches
nameRule name (must be unique within company)
descriptionOptional description
ruleJsonJSON representation of the rule logic
isActiveWhether the rule is active and should be evaluated
activeWhether the rule exists (false = soft-deleted)
lastModifiedByID of the user who last modified this rule
isSystemRuleTrue for rules provisioned by a subscribed Rule Pack — read-only (cannot be edited), but can be deleted

