API compatibility

Write data

InfluxDB 3 Clustered provides the following HTTP API endpoints for writing data:

  • Recommended: /api/v2/write endpoint for new write workloads or for bringing existing InfluxDB v2 write workloads to InfluxDB 3.
  • /write endpoint for bringing existing InfluxDB v1 write workloads to InfluxDB 3.

Both endpoints accept the same line protocol format and process data in the same way.

Query data

InfluxDB 3 Clustered provides the following protocols for executing a query:

  • Recommended: Flight+gRPC request that contains an SQL or InfluxQL query.
  • HTTP API /query request that contains an InfluxQL query. Use this protocol when bringing existing InfluxDB v1 query workloads to InfluxDB 3.

InfluxDB v2 compatibility

The HTTP API /api/v2/write endpoint works with the Bearer and Token authentication schemes and existing InfluxDB 2.x tools and code.

InfluxDB v1 compatibility

The HTTP API /write endpoint and /query endpoint work with InfluxDB 1.x username/password authentication schemes and existing InfluxDB 1.x tools and code.


Was this page helpful?

Thank you for your feedback!