eKuiper provides a set of REST API for streams and rules management in addition to CLI.

By default, the REST API are running in port 9081. You can change the port in /etc/kuiper.yaml for the restPort property.

Getting information

This API is used to get the version number, system type, and program running time.

  1. GET http://localhost:9081
  1. {
  2. "version": "1.0.1-22-g119ee91",
  3. "os": "darwin",
  4. "upTimeSeconds": 14
  5. }

ping

  1. GET http://localhost:9081/ping