InfluxData Templates API
Export and apply InfluxDB **templates**.Manage **stacks** of templated InfluxDB resources.InfluxDB templates are prepackaged configurations for resources.Use InfluxDB templates to configure a fresh instance of InfluxDB,back up your dashboard configuration, or share your configuration.Use the `/api/v2/templates` endpoints to export templates and apply templates.**InfluxDB stacks** are stateful InfluxDB templates that let youadd, update, and remove installed template resources over time, avoid duplicatingresources when applying the same or similar templates more than once, andapply changes to distributed instances of InfluxDB OSS or InfluxDB Cloud.Use the `/api/v2/stacks` endpoints to manage installed template resources.### Related guides- [InfluxDB stacks](https://docs.influxdata.com/influxdb/cloud/influxdb-templates/stacks/)- [InfluxDB templates](https://docs.influxdata.com/influxdb/cloud/influxdb-templates/)
InfluxData Templates API is one of 45 APIs that InfluxData publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Templates. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, API documentation, and a getting-started guide.
This API exposes 8 operations across 5 paths, and defines 79 schemas. It is described by OpenAPI 3.0.0, at version 2.0.1.
Requests are made against a single base URL, /api/v2.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 2
InfluxData Templates API declares
2 security schemes
for authenticating requests.
An API key is passed in the header as Authorization (TokenAuthentication).
It accepts HTTP basic authentication (BasicAuthentication).
By default, every request must be authenticated.
TokenAuthentication— Use the [Token authentication](section/Authentication/TokenAuthentication) scheme to authenticate to the InfluxDB API. In your API requests, send an Authorizat…BasicAuthentication— Basic authentication scheme Use the HTTP Basic authentication scheme for InfluxDB /api/v2 API operations that support it: Syntax Authorization: Basic BASE64ENC…
Paths & Operations 8
Across 5 paths, the API surfaces 8 operations — 1 DELETE, 2 GET, 1 PATCH, 4 POST. Each is listed below with its method, path, parameters, and response codes.
Export and apply InfluxDB templates. Manage stacks of templated InfluxDB resources. InfluxDB templates are prepackaged configurations for resources. Use InfluxDB templates to conf…
Schemas 79
The contract defines 79 schemas that model the data the API accepts and returns. The most detailed are ScatterViewProperties (32 properties), HeatmapViewProperties (31 properties), LinePlusSingleStatProperties (30 properties), XYViewProperties (29 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from InfluxData 12
Other APIs InfluxData publishes across the network.