API Stability Short-Term

The fleetInstallationTokens() GraphQL query is used to retrieve the active schemas and their field aliases on a given view.

Please note that this query field is a preview and subject to change.

Syntax

Below is the syntax for the fleetInstallationTokens() query field:

graphql
fleetInstallationTokens: [FleetInstallationToken!]!

The fleetInstallationTokens return datatype is used to return information about the installation tokens. The parameters it allows is covered in a table in the Return Datatype section further down this page. Below is an example of how you might use this query field:

Show:
graphql
query {
  fleetInstallationTokens {name, token, 
     installationCommands{linuxCommand},
     assignedConfiguration {id, name, modifiedAt}
    }
}

Returned Datatypes

The FleetInstallationToken datatype has a few parameters, a couple with special datatypes of their own. Below is a list of them:

Table: FleetInstallationToken

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
assignedConfigurationLogCollectorConfiguration  Short-TermThe assigned configuration. See LogCollectorConfiguration.
installationCommandsLogCollectorInstallCommandyes Short-TermThe installation commands. See LogCollectorInstallCommand.
namestringyes Short-TermThe name of the Fleet installation token.
tokenstringyes Short-TermThe Fleet installation token used.