Ping

Download InfluxDB API Spec
Check the availability of an InfluxDB OSS v2 instance.
GET /ping

Get the status of the instance

Retrieves the status and InfluxDB version of the instance.

Use this endpoint to monitor uptime for the InfluxDB instance. The response returns a HTTP 204 status code to inform you the instance is available.

InfluxDB Cloud

  • Isn’t versioned and doesn’t return X-Influxdb-Version in the headers.
Example request Ask AI about this
curl --request GET \
  "http://localhost:8086/ping" \
  --header "Authorization: Bearer INFLUX_TOKEN"

Responses

204 Success. Headers contain InfluxDB version information.
HEAD /ping

Get the status of the instance

Returns the status and InfluxDB version of the instance.

Use this endpoint to monitor uptime for the InfluxDB instance. The response returns a HTTP 204 status code to inform you the instance is available.

InfluxDB Cloud

  • Isn’t versioned and doesn’t return X-Influxdb-Version in the headers.
Example request Ask AI about this
curl --request HEAD \
  "http://localhost:8086/ping" \
  --header "Authorization: Bearer INFLUX_TOKEN"

Responses

204 Success. Headers contain InfluxDB version information.

Was this page helpful?

Thank you for your feedback!