QueryOwnershipType is an enumerated list used for the basis of ownership for running queries.

This enumerated datatype is used by the createReadonlyToken(), updateDashboardToken(), installPackageFromZip(), updatePackageFromZip() mutation fields, It's also used by several other, less specialized datatypes (e.g., CreateAlert and CreateScheduledSearch), which are used by several main datatypes and thereby many mutation and other query fields.

Table: QueryOwnershipType

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: Oct 3, 2025
Organization   Long-TermQueries are run on behalf of the organization.
User   Long-TermQueries are run on behalf of the user.