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

Table: AddSavedQueryLabels

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For return datatypes, this indicates that you must specify which fields you want returned in 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.