RecentQuery is a datatype for a recent query.

This datatype is used by the recentQueriesV2 parameter of the datatypes, Repository and View, which are used by several mutation and query fields. This datatype is also used by the datatype, AddRecentQuery, which is used by the addRecentQuery() mutation field.

Table: RecentQuery

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
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 14, 2026 
languageVersionLanguageVersionyes Long-Term The language version used by LogScale See LanguageVersion.
queryHumioQueryyes Long-Term The query used most recently. See HumioQuery.
runAtDateTimeyes Long-Term The date and time in the ISO-8601 instant format (e.g., 2022-12-03T10:15:30.00Z).
widgetOptionsJSON  Long-Term Any widget options used, in JSON format. JSON is a scalar.
widgetTypeString  Long-Term The type of widget used, if one, with the recent query.