createDashboardLinkInteraction()

API Stability Long-Term

The createDashboardLinkInteraction() GraphQL mutation field is used to reate a dashboard link interaction. This is a preview and subject to change.

Syntax

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

graphql
createDashboardLinkInteraction(
       input: CreateDashboardLinkInteractionInput!
    ): InteractionId!

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

Show:
graphql
mutation {
  createDashboardLinkInteraction(input:
     { path: "humio",
       dashboardLinkInteractionInput:{name: "my-dasher", 
                                      dashboardId: "X3ax4M65ZyyRRd12MytBLifzoCmT5cK0",
                                      openInNewTab: true,
                                      useWidgetTimeWindow: true,
                                      arguments: [ {key: "some", value: "thing"} ] }
     } )
  { id }
}
Example Responses
Show:
json
{
  "data": {
    "createDashboardLinkInteraction": {
      "id": "WgCU7G4zMUk0ZrrF2NrOBjhqbwHAR8jR"
    }
  }
}

Given and Returned Datatypes

For CreateDashboardLinkInteractionInput, there are a couple of parameters, but several sub-parameters. Below is a list of them. For the returned datatype, InteractionId there's just the parameter, id (see example above).

Table: CreateDashboardLinkInteractionInput

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 17, 2024
dashboardLinkInteractionInputDashboardLinkInteractionInputyes  The dashboard link to create. See DashboardLinkInteractionInput.
pathstringyes  The path of the dashboard link.