AddSavedQueryLabels is an input datatype for adding labels to a saved query. It's used by the addSavedQueryLabels() mutation field.

Table: AddSavedQueryLabels

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 17, 2025
idstringyes Long-TermThe unique identifier of the saved query.
labels[string]yes Long-TermThe labels for the saved query. There can be at most ten labels, each with a maximum length of sixty characters.
viewNameRepoOrViewNameyes Long-TermThe name of the view of the saved query. RepoOrViewName is a scalar.