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

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: Oct 3, 2024
languageVersionLanguageVersionyes Long-TermThe language version used by LogScale See LanguageVersion.
queryHumioQueryyes Long-TermThe query used most recently. See HumioQuery.
runAtdatetimeyes Long-TermThe date and time in the ISO-8601 instant format (e.g., 2022-12-03T10:15:30.00Z).
widgetOptionsJSON  Long-TermAny widget options used, in JSON format. JSON is a scalar.
widgetTypestring  Long-TermThe type of widget used, if one, with the recent query.