docs-v2/content/v2.0/reference/api.md

1011 B

title description menu weight v2.0/tags
InfluxDB v2 API The InfluxDB v2 API provides a programmatic interface for interactions with InfluxDB. Access the InfluxDB API using the `/api/v2/` endpoint. v2_0_ref 2
api

The InfluxDB v2 API provides a programmatic interface for interactions with InfluxDB. Access the InfluxDB API using the /api/v2/ endpoint.

Authentication

InfluxDB uses authentication tokens to authorize API requests. Include your authentication token as an Authorization header in each request.

curl --request GET \
  --url http://localhost:9999/api/v2/ \
  --header 'Authorization: Token YOURAUTHTOKEN'

View Influx v2 API Documentation

Full InfluxDB v2 API documentation is built into the influxd service. To view the API documentation, start InfluxDB and visit the /docs endpoint in a browser.

localhost:9999/docs