The installedPackage() GraphQL query provides details for a specific package installed on a specific view.

For more information on packages, see the Packages documentation page.


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

installedPackage(packageId: VersionedPackageSpecifier!, viewName: string!): PackageInstallation

Given and Returned Datatypes

The given datatype, VersionedPackageSpecifier is a scalar. The returned datatype PackageInstallation has its own parameters. Below is a list of them along with their datatypes and a description of each:

Table: PackageInstallation

idVersionedPackageSpecifieryes The identifier for the package and version. This is a scalar value.
installedByUserAndTimestampyes The user identifier and time stamp for installation (see UserAndTimestamp Table).
updatedByUserAndTimestampyes The user and time stamp for installation of package (see UserAndTimestamp Table).
sourcePackageInstallationSourceTypeyes Finds updates on a package. Looks also for updates installed manually. Enumerated values to use are HumioHub or ZipFile.
availableUpdatePackageVersion  Version of package available for updating. This is a scalar value.
packagePackage2yes Designate a Humio package (see Package2 Table).

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.