API Stability Long-Term

The updateSearchLinkInteraction() GraphQL mutation may be used to update a search link interaction.

Syntax

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

graphql
updateSearchLinkInteraction(
      input: UpdateSearchLinkInteractionInput!
   ): InteractionId!

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

Show:
graphql
mutation {
  updateSearchLinkInteraction(input:
       { path: "humio",
         interactionId: "abc123",
         searchLinkInteractionInput: 
            { name: "my-search-link", 
              queryString: "#vhost",
              isLive: false,
              arguments: [ {key: "some", value: "thing"} ],
              openInNewTab: false,
              useWidgetTimeWindow: false,
              fieldInteractionConditions: [ { fieldName: "my-field", 
                                              operator: Equal, 
                                              argument: "something" } ] }
      } )
  { id }
}
Example Responses
Show:
json
{
  "data": {
    "updateSearchLinkInteraction": {
      "id": "abc123"
    }
  }
}

Given Datatypes

For UpdateSearchLinkInteractionInput, there are a few parameters, and sub-parameters. Below is a list of them along with a description of each:

Table: UpdateSearchLinkInteractionInput

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 26, 2025
interactionIdstringyes  The unique identifier of the interaction.
pathstringyes  The path of the interaction.
searchLinkInteractionInputSearchLinkInteractionInputyes  The search link interaction data. See SearchLinkInteractionInput.

Returned Datatypes

The returned datatype InteractionId has one parameter. It's described below:

Table: InteractionId

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: Sep 25, 2024
idstringyes Long-TermThe unique identifier for the interaction.