API Stability Long-Term

The setAutomaticSearching() GraphQL mutation field is used to set the search to perform automatically when a user opens the search page.

Syntax

Below is the syntax for the setAutomaticSearching() mutation field:

graphql
setAutomaticSearching(
       name: string!, 
       automaticSearch: boolean!
    ): setAutomaticSearching!

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  setAutomaticSearching( 
    name: "humio",
    automaticSearch: true
  )
  { automaticSearch }
}
Example Responses
Show:
json
{
  "data": {
    "setAutomaticSearching": {
      "automaticSearch": true
    }
  }
}

Returned Datatypes

The returned datatype setAutomaticSearching has one parameter. It's explained here:

Table: setAutomaticSearching

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Feb 5, 2025
automaticSearchbooleanyes Long-TermWhether automatic search is enabled or not.