post
https://core-api.ternary.app/api/custom-label-statements
Create a new Custom Label rule. Custom Labels create business-relevant labels from cloud billing data using rule-based conditions and output mappings.
Conditions determine which billing line items the rule applies to. Filters support equals, like (wildcard), and set (key exists) operators. Conditions can be nested up to 3 levels using and, or, and not logical operators.
Output types:
TEMPLATE— Generate label values using expression templates with variable substitution.MAPPING— Assign label values based on the value of an existing billing field.DATA_MAPPING— Bulk label assignment from an uploaded data source.
Rules can be saved as DRAFT for review before being published, or published immediately to begin processing.
See Custom Labels for detailed guidance.