AddLegacyAlertLabels is an input datatype for adding labels to a legacy alert. It's used by the addLegacyAlertLabels() mutation field.

Table: AddLegacyAlertLabels

ParameterTypeRequiredDefaultStabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results.
Table last updated: Nov 14, 2025
idstringyes Long-TermThe unique identifier of a legacy alert.
labels[string]yes Long-TermLabels to add to a legacy alert, at most one-hundred at a time.
viewNameRepoOrViewNameyes Long-TermThe name of the view of a legacy alert. RepoOrViewName is a scalar.