How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

InfluxDB 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/)

InfluxDB Templates API is one of 40 APIs that InfluxDB publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Templates. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, authentication docs, and a getting-started guide.

This API exposes 8 operations across 5 paths, and defines 80 schemas. It is described by OpenAPI 3.2.0.

Requests are made against the base URL https://cloud2.influxdata.com/api/v2.

8 operations 5 paths 80 schemas 1 DELETE2 GET1 PATCH4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
Base URL
https://cloud2.influxdata.com/api/v2
Authentication
HTTP Basic, API Key
Resource Areas
1

Authentication & Security 2

InfluxDB Templates API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (BasicAuthentication). An API key is passed in the header as Authorization (TokenAuthentication). By default, every request must be authenticated.

  • BasicAuthentication — Basic authentication scheme Use the HTTP Basic authentication scheme for InfluxDB /api/v2 API operations that support it: Syntax Authorization: Basic BASE64ENC…
  • TokenAuthentication — Use the [Token authentication](section/Authentication/TokenAuthentication) scheme to authenticate to the InfluxDB API. In your API requests, send an Authorizat…

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.

Templates 8

Export and apply InfluxDB templates. Manage stacks of templated InfluxDB resources. InfluxDB templates are prepackaged configurations for resources. Use InfluxDB templates to conf…

GET
/api/v2/stacks
List installed stacks
ListStacks 3 params → 200400401500default
POST
/api/v2/stacks
Create a stack
CreateStack body → 201401422500default
DELETE
/api/v2/stacks/{stack_id}
Delete a stack and associated resources
DeleteStack 2 params → 204default
GET
/api/v2/stacks/{stack_id}
Retrieve a stack
ReadStack 1 param → 200default
PATCH
/api/v2/stacks/{stack_id}
Update a stack
UpdateStack 1 param body → 200default
POST
/api/v2/stacks/{stack_id}/uninstall
Uninstall a stack
UninstallStack 1 param → 200default
POST
/api/v2/templates/apply
Apply or dry-run a template
ApplyTemplate body → 200201422500default
POST
/api/v2/templates/export
Export a new template
ExportTemplate body → 200default

Schemas 80

The contract defines 80 schemas that model the data the API accepts and returns. The most detailed are ScatterViewProperties (32 properties), HeatmapViewProperties (31 properties), LinePlusSingleStatProperties (30 properties), MosaicViewProperties (29 properties). Each schema is shown below with its type and property counts.

TableViewProperties
object
10 properties 10 required
XYViewProperties
object
29 properties 9 required
TaskStatusType
string
inactive cancels scheduled runs and prevents manual runs of the task.
RangeThreshold
CustomCheck
CheckBase
object
15 properties 3 required
Error
object
4 properties 1 required
BuilderConfig
object
4 properties
TemplateChart
object
5 properties
ErrorCode
string
code is the machine-readable error code.
Threshold
TelegramNotificationEndpoint
object
DashboardColor
object
Defines an encoding of data value into color space.
5 properties 5 required
RetentionRules
array
Retention rules to expire or retain data. The InfluxDB /api/v2 API uses RetentionRules to configure the [retention period](https://docs.influxdata.com/influxdb…
LatLonColumn
object
Object type for key and column definitions
2 properties 2 required
SimpleTableViewProperties
object
6 properties 6 required
VariableProperties
object
BuilderAggregateFunctionType
string
TemplateSummaryLabel
object
7 properties
Link
string
URI of resource.
CheckViewProperties
object
11 properties 5 required
Label
object
4 properties
Stack
object
4 properties
BuilderTagsType
object
3 properties
GeoHeatMapViewLayer
ThresholdBase
object
2 properties
LinePlusSingleStatProperties
object
30 properties 11 required
MapVariableProperties
object
2 properties
TemplateApply
object
9 properties
QueryEditMode
string
HistogramViewProperties
object
16 properties 12 required
NotificationEndpointDiscriminator
TemplateExportByName
object
3 properties
BuilderFunctionsType
object
1 property
Axis
object
Axis used in a visualization.
6 properties
PagerDutyNotificationEndpoint
object
TemplateKind
string
HeatmapViewProperties
object
31 properties 17 required
HTTPNotificationEndpoint
object
NotificationEndpointBase
object
11 properties 2 required
LatLonColumns
object
Object type to define lat/lon columns
2 properties 2 required
GreaterThreshold
TemplateExportByID
object
3 properties
ThresholdCheck
MosaicViewProperties
object
29 properties 17 required
SingleStatViewProperties
object
12 properties 11 required
CheckStatusLevel
string
The state to record if check matches a criteria.
TemplateSummary
object
5 properties
ViewProperties
DecimalPlaces
object
Indicates whether decimal places should be enforced, and how many digits it should show.
2 properties
SlackNotificationEndpoint
object
StaticLegend
object
StaticLegend represents the options specific to the static legend
7 properties
DeadmanCheck
LesserThreshold
ColorMapping
object
A color mapping is an object that maps time series data to a UI color scheme to allow the UI to render graphs consistent colors across reloads.
GaugeViewProperties
object
11 properties 11 required
Check
GeoViewProperties
object
15 properties 10 required
GeoViewLayer
object
QueryVariableProperties
object
2 properties
RetentionRule
object
3 properties 1 required
Template
array
RenamableField
object
Describes a field that can be renamed and made visible or invisible.
3 properties
MarkdownViewProperties
object
3 properties 3 required
Axes
object
The viewport for a View's visualizations
2 properties 2 required
GeoPointMapViewLayer
BandViewProperties
object
29 properties 8 required
TemplateEnvReferences
array
CheckDiscriminator
AxisScale
string
Scale is the axis formatting scale. Supported: "log", "linear"
GeoViewLayerProperties
object
1 property 1 required
TelegrafRequest
object
5 properties
DashboardQuery
object
4 properties
ConstantVariableProperties
object
2 properties
XYGeom
string
GeoTrackMapViewLayer
object
4 properties
GeoCircleViewLayer
Labels
array
NotificationEndpointType
string
ScatterViewProperties
object
32 properties 18 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

influxdb-templates-api-openapi.yml Raw ↑

Other APIs InfluxDB publishes across the network.

InfluxDB Authorizations (API tokens) API
InfluxDB Bucket Schemas API
InfluxDB Buckets API
InfluxDB Cells API
InfluxDB Checks API
InfluxDB Config API
InfluxDB Dashboards API
InfluxDB Data I/O endpoints API
InfluxDB DBRPs API
InfluxDB Delete API
InfluxDB Invokable Scripts API
InfluxDB Labels API
Where this information came from

This is an independent, third-party profile of InfluxDB Templates API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.