InfluxDB Docs

runtime.version() function

The runtime.version() function returns the current Flux version.

Function type: Miscellaneous
Output data type: String

import "runtime"

runtime.version()