UpdatePersistedAggregationInput is an input datatype for updating a persisted aggregation. All fields except 'oldName' are optional. It's used by the updatePersistedAggregation() mutation.

Table: UpdatePersistedAggregationInput

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: Mar 30, 2026
currentNamestringyes PreviewThe unique name of the persisted aggregation to update.
descriptionstring  PreviewA description of what the persisted aggregation does.
enabledboolean  PreviewWhether the persisted aggregation should be enabled.
labels[string]  PreviewA list of labels to tag the persisted aggregation for organizing and filtering. Each label can be up to sixty-four characters long and may contain only alphanumeric characters, spaces, hyphens, and underscores.
newNamestring  PreviewThe new unique name for the persisted aggregation. It can be up to one-hundred twenty-eight characters long, must start with an alphanumeric character, and may contain only alphanumeric characters, spaces, hyphens, and underscores. The name must be unique within the organization.
queryOwnershipTypeQueryOwnershipType  PreviewThe ownership type of the query. See QueryOwnershipType.
schedulePersistedAggregationScheduleInput  PreviewThe schedule configuration defining when and how often the aggregation runs. See PersistedAggregationScheduleInput.