InfluxDB v3 集群版 文档 提交 API 问题

InfluxDB 集群版 API 服务

许可证:MIT

InfluxDB v2 HTTP API 为 InfluxDB 集群版提供了一个与 v2 兼容的编程接口,用于写入存储在 InfluxDB 集群版数据库中的数据。

InfluxDB v2 HTTP API 允许您使用 /api/v2 端点来管理保留策略映射以及写入存储在 InfluxDB v3 实例中的数据。

本文档是根据 InfluxDB OpenAPI 规范 生成的。

快速入门

请参阅 入门教程,了解如何使用令牌进行身份验证、写入数据库和查询数据。

InfluxDB API 客户端库和 Flight 客户端 可用于将 InfluxDB API 与您的应用程序集成。

身份验证

使用以下方案之一对 InfluxDB API 进行身份验证

基本身份验证

基本身份验证方案

使用带有 Basic 方案的 Authorization 头部来对 v1 API /write/query 请求进行身份验证。在验证请求时,InfluxDB 集群版会检查解码凭据中的 password 部分是否是授权的 数据库令牌。InfluxDB 集群版会忽略解码凭据中的 username 部分。

语法

Authorization: Basic <base64-encoded [USERNAME]:DATABASE_TOKEN>

替换以下内容

  • [USERNAME]:一个可选的字符串值(由 InfluxDB 集群版忽略)。
  • DATABASE_TOKEN:一个 数据库令牌
  • 使用 base64 编码将 [USERNAME]:DATABASE_TOKEN 凭据编码,然后将编码后的字符串追加到 Authorization: Basic 头部。

示例

以下示例显示了如何使用 cURL 和 Basic 身份验证方案以及一个 数据库令牌

#######################################
# Use Basic authentication with a database token
# to query the InfluxDB v1 HTTP API
#######################################
# Use the --user option with `--user username:DATABASE_TOKEN` syntax
#######################################

curl --get "http://cluster-id.a.influxdb.io/query" \
  --user "":"DATABASE_TOKEN" \
  --data-urlencode "db=DATABASE_NAME" \
  --data-urlencode "q=SELECT * FROM MEASUREMENT"

替换以下内容

  • DATABASE_NAME:您的 InfluxDB 集群版数据库
  • DATABASE_TOKEN:一个具有对数据库充分权限的 数据库令牌
安全方案类型HTTP
HTTP 授权方案basic

查询字符串身份验证

使用查询字符串身份验证方案以及 InfluxDB 1.x API 参数通过查询字符串提供凭据。

查询字符串身份验证

在 URL 中传递 p 查询参数以对 /write/query 请求进行身份验证。在验证请求时,InfluxDB 集群版会检查 p(密码)是否是授权的数据库令牌,并忽略 u(用户名)参数。

语法

https://cluster-id.a.influxdb.io/query/?[u=any]&p=DATABASE_TOKEN
https://cluster-id.a.influxdb.io/write/?[u=any]&p=DATABASE_TOKEN

示例

以下示例展示了如何使用cURL与查询字符串认证以及数据库令牌。

#######################################
# Use an InfluxDB 1.x compatible username and password
# to query the InfluxDB v1 HTTP API
#######################################
# Use authentication query parameters:
#   ?p=DATABASE_TOKEN
#######################################

curl --get "https://cluster-id.a.influxdb.io/query" \
  --data-urlencode "p=DATABASE_TOKEN" \
  --data-urlencode "db=DATABASE_NAME" \
  --data-urlencode "q=SELECT * FROM MEASUREMENT"

替换以下内容

  • DATABASE_NAME:您的 InfluxDB 集群版数据库
  • DATABASE_TOKEN:一个具有对数据库充分权限的 数据库令牌
安全方案类型API密钥
查询参数名称u=&p=

Bearer认证

使用OAuth Bearer认证方案对InfluxDB API进行认证。

在您的API请求中,发送一个Authorization头部。对于头部值,提供单词Bearer后跟一个空格和一个数据库令牌。

语法

Authorization: Bearer INFLUX_TOKEN

示例

########################################################
# Use the Bearer token authentication scheme with /api/v2/write
# to write data.
########################################################

curl --request post "https://cluster-id.a.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s" \
  --header "Authorization: Bearer DATABASE_TOKEN" \
  --data-binary 'home,room=kitchen temp=72 1463683075'

有关示例和更多信息,请参阅以下内容

安全方案类型HTTP
HTTP 授权方案bearer
Bearer格式"JWT"

令牌认证

使用令牌认证方案对InfluxDB API进行认证。

在您的API请求中,发送一个Authorization头部。对于头部值,提供单词Token后跟一个空格和一个数据库令牌。单词Token是大小写敏感的。

语法

Authorization: Token INFLUX_API_TOKEN

示例

########################################################
# Use the Token authentication scheme with /api/v2/write
# to write data.
########################################################

curl --request post "https://cluster-id.a.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s" \
  --header "Authorization: Token DATABASE_TOKEN" \
  --data-binary 'home,room=kitchen temp=72 1463683075'
安全方案类型API密钥
头部参数名称Authorization

头部

InfluxDB HTTP API端点使用标准的HTTP请求和响应头部。以下表格显示了多个InfluxDB API端点使用的常见头部。某些端点可能使用其他头部,这些头部执行更特定于那些端点的功能--例如,POST /api/v2/write端点接受Content-Encoding头部,以指示请求体中行协议应用的压缩。

头部值类型描述
Accept字符串客户端可以理解的内容类型。
Authorization字符串授权方案和凭证。
Content-Length整数发送到数据库的实体体的字节大小。
Content-Type字符串请求体中数据的格式。

响应代码

InfluxDB HTTP API端点使用标准的HTTP状态代码来表示成功和失败响应。响应体可能包含附加的详细信息。有关特定操作的响应详细信息,请参阅该操作的响应响应样本

API操作可能返回以下HTTP状态代码

 代码 状态描述
200成功
204成功。没有内容InfluxDB不返回请求的数据。例如,成功的写入请求返回204状态代码,表示数据已写入并可查询。
400错误请求InfluxDB无法解析请求,因为参数不正确或语法错误。如果请求体中的行协议格式不正确。响应体包含第一个格式错误的行,并指示期望的内容。对于部分写入,还包括已写入的数据点和拒绝的数据点的数量。
401未授权可能表示以下之一
  • Authorization: Token头部缺失或格式不正确
  • API令牌值未包含在头部中
  • API令牌没有权限。有关令牌类型和权限的更多信息,请参阅管理令牌
404未找到请求的资源未找到。响应体中的message提供了有关请求资源的详细信息。
405方法不允许API路径不支持请求中使用的HTTP方法——例如,您向只允许GET的端点发送了POST请求。
413请求实体过大请求负载超过大小限制。
422不可处理的实体请求数据无效。响应体中的codemessage提供了关于问题的详细信息。
429请求过多API令牌临时超过请求配额。《Retry-After》头描述了何时再次尝试请求。
500内部服务器错误
503服务不可用服务器暂时不可用,无法处理请求。《Retry-After》头描述了何时再次尝试请求。

系统信息端点

Ping

获取实例状态

检索实例的状态和InfluxDB版本。

使用此端点来监控InfluxDB实例的运行时间。响应返回HTTP 204状态码以通知实例可用。

此端点不需要身份验证。

授权

响应

获取实例状态

返回实例的状态和InfluxDB版本。

使用此端点来监控InfluxDB实例的运行时间。响应返回HTTP 204状态码以通知实例可用。

此端点不需要身份验证。

授权

响应

查询

查询数据库中存储的数据。

  • HTTP客户端可以使用InfluxQL通过/query端点查询v1,并以CSV或JSON格式检索数据。
  • /api/v2/query端点不能查询InfluxDB集群。
  • Flight + gRPC客户端可以使用SQLInfluxQL进行查询,并以Arrow格式检索数据。

使用InfluxDB v1 HTTP API进行查询

使用InfluxDB v1请求和响应格式,使用InfluxQL查询InfluxDB。

查询参数
db
必需
字符串

查询数据的数据库

epoch
字符串
枚举: "ns" "u" "µ" "ms" "s" "m" "h"

Unix时间戳精度。将时间戳格式化为指定的精度,而不是使用纳秒精度的RFC3339时间戳

p
字符串

InfluxDB 1.x的密码,用于验证请求。

q
必需
字符串

要执行的InfluxQL查询。要执行多个查询,请用分号(;)分隔查询。

rp
字符串

查询数据的保留策略。有关更多信息,请参阅InfluxQL DBRP命名约定

u
字符串

InfluxDB 1.x的用户名,用于验证请求。

头部参数
Accept
字符串
默认值: application/json
枚举:"application/json" "application/csv" "text/csv" "application/x-msgpack"

客户端可以理解的媒体类型。

注意:使用application/csv时,查询结果包括Unix时间戳而不是RFC3339时间戳

Accept-Encoding
字符串
默认值: identity
枚举:"gzip" "identity"

客户端可以理解的编码(通常是压缩算法)。

Content-Type
字符串
值:"application/json"
Zap-Trace-Span
字符串
示例: baggage,[object Object],span_id,1,trace_id,1

OpenTracing跨度上下文

响应

响应示例

内容类型
无示例

写入

使用InfluxDB v1或v2端点将时间序列数据写入数据库

写入数据

将数据写入数据库。

使用此端点以行协议格式向InfluxDB发送数据。

InfluxDB在您发送写入请求时执行以下操作

  1. 验证请求
  2. 如果成功,尝试摄取数据;否则错误
  3. 如果成功,则返回成功(HTTP 204 状态码),确认数据已写入并可查询;否则错误

为确保 InfluxDB Cloud 按您请求的顺序处理写入,在发送下一个请求之前,等待成功响应(HTTP 2xx 状态码)。

查询参数
必需
字符串

数据库名称或 ID。InfluxDB 将所有批处理点写入指定的数据库。

组织
必需
字符串

忽略。组织名称或 ID。

InfluxDB 忽略此参数;使用指定的数据库令牌授权请求并将数据写入指定的集群数据库。

组织 ID
字符串

忽略。组织 ID。

InfluxDB 忽略此参数;使用指定的数据库令牌授权请求并将数据写入指定的集群数据库。

精度
字符串 (WritePrecision)
枚举: "ms" "s" "us" "ns"

行协议批处理中 UNIX 时间戳的精度。

头部参数
Accept
字符串
默认值: application/json
值:"application/json"

客户端可以理解的 MIME 类型。只有在写入失败时才会返回响应体,例如,由于格式问题或配额限制。

  • 仅对格式和限制错误返回 application/json
  • 仅对某些配额限制错误返回 text/html
内容编码
字符串
默认值: identity
枚举:"gzip" "identity"

在请求有效载荷中应用的对行协议的压缩。要发送 gzip 有效载荷,请传递 Content-Encoding: gzip 标头。

内容长度
整数

发送到 InfluxDB 的实体主体的字节数。如果长度大于 max body 配置选项,则服务器返回状态码 413

Content-Type
字符串
默认值:text/plain; charset=utf-8
枚举: "text/plain" "text/plain; charset=utf-8"

请求体中数据的格式。要发送行协议有效载荷,请传递 Content-Type: text/plain; charset=utf-8

Zap-Trace-Span
字符串
示例: baggage,[object Object],span_id,1,trace_id,1

OpenTracing跨度上下文

请求体模式:text/plain

在请求体中,以行协议格式提供数据。

要发送压缩数据,请执行以下操作

  1. 使用 gzip 压缩行协议数据。
  2. 在您的请求中发送压缩数据并传递 Content-Encoding: gzip 标头。
字符串 <字节>

响应

请求示例

内容类型
text/plain
airSensors,sensor_id=TLM0201 temperature=73.97038159354763,humidity=35.23103248356096,co=0.48445310567793615 1630424257000000000
airSensors,sensor_id=TLM0202 temperature=75.30007505999716,humidity=35.651929918691714,co=0.5141876544505826 1630424257000000000

响应示例

内容类型
application/json
{
  • "code": "invalid",
  • "message": "failed to parse line protocol: error writing line 2: Unable to insert iox::column_type::field::integer type into column temp with type iox::column_type::field::string"
}

使用InfluxDB v1 HTTP API写入数据

将数据写入数据库。

使用此与InfluxDB v1兼容的端点,通过v1 API参数和授权使用行协议格式向InfluxDB发送数据。

InfluxDB在您发送写入请求时执行以下操作

  1. 验证请求
  2. 如果成功,尝试摄取数据;否则错误
  3. 如果成功,则返回成功(HTTP 204 状态码),确认数据已写入并可查询;否则错误

为确保InfluxDB按照您请求的顺序处理写入,在发送下一个请求之前,请等待成功响应(HTTP 2xx状态码)。

查询参数
db
必需
字符串

要写入的数据库。如果不存在,InfluxDB 将创建一个具有默认3天保留策略的数据库。

p
字符串

InfluxDB 1.x的密码,用于验证请求。

精度
字符串

写入精度。

rp
字符串

保留策略名称。

u
字符串

InfluxDB 1.x的用户名,用于验证请求。

头部参数
内容编码
字符串
默认值: identity
枚举:"gzip" "identity"

当存在时,其值表示数据库将对行协议体应用压缩。

Zap-Trace-Span
字符串
示例: baggage,[object Object],span_id,1,trace_id,1

OpenTracing跨度上下文

请求体模式:text/plain

行协议体

字符串

响应

响应示例

内容类型
application/json
示例
{
  • "code": "invalid",
  • "line": 2,
  • "message": "no data written, errors encountered on line(s): error message for first rejected point</n> error message for second rejected point</n> error message for Nth rejected point (up to 100 rejected points)"
}
. This site is unofficial and not affiliated with InfluxData Inc.

`}},schema:{type:"string"}}},description:`The request payload is too large. InfluxDB rejected the batch and did not write any data. InfluxDB returns this error if the payload exceeds the size limit. `},429:{description:`Too many requests. #### InfluxDB Cloud - Returns this error if a **read** or **write** request exceeds your plan's [adjustable service quotas](/influxdb/clustered/account-management/limits/#adjustable-service-quotas) or if a **delete** request exceeds the maximum [global limit](/influxdb/clustered/account-management/limits/#global-limits). - For rate limits that reset automatically, returns a \`Retry-After\` header that describes when to try the write again. - For limits that can't reset (for example, **cardinality limit**), doesn't return a \`Retry-After\` header. Rates (data-in (writes), queries (reads), and deletes) accrue within a fixed five-minute window. Once a rate limit is exceeded, InfluxDB returns an error response until the current five-minute window resets. `,headers:{"Retry-After":{description:"Non-negative decimal integer indicating seconds to wait before retrying the request.",schema:{format:"int32",type:"integer"}}}},500:{$ref:"#/components/responses/InternalServerError"},503:{description:`Service unavailable. - Returns this error if the server is temporarily unavailable to accept writes. - Returns a \`Retry-After\` header that describes when to try the write again. `,headers:{"Retry-After":{description:"Non-negative decimal integer indicating seconds to wait before retrying the request.",schema:{format:"int32",type:"integer"}}}},default:{$ref:"#/components/responses/GeneralServerError"}},summary:"Write data",tags:["Data I/O endpoints","Write"]}},"/query":{get:{description:"Queries InfluxDB using InfluxQL with InfluxDB v1 request and response formats.",operationId:"GetLegacyQuery",parameters:[{$ref:"#/components/parameters/TraceSpan"},{in:"header",name:"Accept",schema:{default:"application/json",description:`Media type that the client can understand. **Note**: With \`application/csv\`, query results include [**unix timestamps**](/influxdb/clustered/reference/glossary/#unix-timestamp) instead of [RFC3339 timestamps](/influxdb/clustered/reference/glossary/#rfc3339-timestamp). `,enum:["application/json","application/csv","text/csv","application/x-msgpack"],type:"string"}},{description:"The content encoding (usually a compression algorithm) that the client can understand.",in:"header",name:"Accept-Encoding",schema:{default:"identity",description:"The content coding. Use `gzip` for compressed data or `identity` for unmodified, uncompressed data.",enum:["gzip","identity"],type:"string"}},{in:"header",name:"Content-Type",schema:{enum:["application/json"],type:"string"}},{description:"The InfluxDB 1.x username to authenticate the request.",in:"query",name:"u",schema:{type:"string"}},{description:"The InfluxDB 1.x password to authenticate the request.",in:"query",name:"p",schema:{type:"string"}},{description:`The [database](/influxdb/clustered/admin/databases/) to query data from. `,in:"query",name:"db",required:!0,schema:{type:"string"}},{description:`The retention policy to query data from. For more information, see [InfluxQL DBRP naming convention](/influxdb/clustered/admin/databases/create/#influxql-dbrp-naming-convention). `,in:"query",name:"rp",schema:{type:"string"}},{description:"The InfluxQL query to execute. To execute multiple queries, delimit queries with a semicolon (`;`).",in:"query",name:"q",required:!0,schema:{type:"string"}},{description:`A unix timestamp precision. Formats timestamps as [unix (epoch) timestamps](/influxdb/clustered/reference/glossary/#unix-timestamp) the specified precision instead of [RFC3339 timestamps](/influxdb/clustered/reference/glossary/#rfc3339-timestamp) with nanosecond precision. `,in:"query",name:"epoch",schema:{enum:["ns","u","µ","ms","s","m","h"],type:"string"}}],responses:{200:{content:{"application/csv":{schema:{$ref:"#/components/schemas/InfluxqlCsvResponse"}},"application/json":{schema:{$ref:"#/components/schemas/InfluxqlJsonResponse"},examples:{"influxql-chunk_size_2":{value:`{"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:55Z",90,"1"],["2016-05-19T18:37:56Z",90,"1"]],"partial":true}],"partial":true}]} {"results":[{"statement_id":0,"series":[{"name":"mymeas","columns":["time","myfield","mytag"],"values":[["2016-05-19T18:37:57Z",90,"1"],["2016-05-19T18:37:58Z",90,"1"]]}]}]} `}}},"application/x-msgpack":{schema:{format:"binary",type:"string"}},"text/csv":{schema:{$ref:"#/components/schemas/InfluxqlCsvResponse"}}},description:"Query results",headers:{"Content-Encoding":{description:"Lists encodings (usually compression algorithms) that have been applied to the response payload.",schema:{default:"identity",description:"The content coding:\n - `gzip`: compressed data\n - `identity`: unmodified, uncompressed data.\n",enum:["gzip","identity"],type:"string"}},"Trace-Id":{description:"The trace ID, if generated, of the request.",schema:{description:"Trace ID of a request.",type:"string"}}}},429:{description:`#### InfluxDB Cloud: - returns this error if a **read** or **write** request exceeds your plan's [adjustable service quotas](/influxdb/clustered/account-management/limits/#adjustable-service-quotas) or if a **delete** request exceeds the maximum [global limit](/influxdb/clustered/account-management/limits/#global-limits) - returns \`Retry-After\` header that describes when to try the write again. `,headers:{"Retry-After":{description:"A non-negative decimal integer indicating the seconds to delay after the response is received.",schema:{format:"int32",type:"integer"}}}},default:{content:{"application/json":{schema:{$ref:"#/components/schemas/Error"}}},description:"Error processing query"}},summary:"Query using the InfluxDB v1 HTTP API",tags:["Query"]}},"/write":{post:{operationId:"PostLegacyWrite",parameters:[{$ref:"#/components/parameters/TraceSpan"},{description:"The InfluxDB 1.x username to authenticate the request.",in:"query",name:"u",schema:{type:"string"}},{description:"The InfluxDB 1.x password to authenticate the request.",in:"query",name:"p",schema:{type:"string"}},{description:"database to write to. If none exists, InfluxDB creates a database with a default 3-day retention policy.",in:"query",name:"db",required:!0,schema:{type:"string"}},{description:"Retention policy name.",in:"query",name:"rp",schema:{type:"string"}},{description:"Write precision.",in:"query",name:"precision",schema:{type:"string"}},{description:"When present, its value indicates to the database that compression is applied to the line protocol body.",in:"header",name:"Content-Encoding",schema:{default:"identity",description:"Specifies that the line protocol in the body is encoded with gzip or not encoded with identity.",enum:["gzip","identity"],type:"string"}}],requestBody:{content:{"text/plain":{schema:{type:"string"}}},description:"Line protocol body",required:!0},responses:{204:{description:"Write data is correctly formatted and accepted for writing to the database."},400:{description:`Data from the batch was rejected and not written. The response body indicates if a partial write occurred or all data was rejected. If a partial write occurred, then some points from the batch are written and queryable. The response body contains details about the [rejected points](/influxdb/clustered/write-data/troubleshoot/#troubleshoot-rejected-points), up to 100 points. `,content:{"application/json":{examples:{rejectedAllPoints:{summary:"Rejected all points",value:{code:"invalid",line:2,message:"no data written, errors encountered on line(s): error message for first rejected point error message for second rejected point error message for Nth rejected point (up to 100 rejected points)"}},partialWriteErrorWithRejectedPoints:{summary:"Partial write rejects some points",value:{code:"invalid",line:2,message:"partial write has occurred, errors encountered on line(s): error message for first rejected point error message for second rejected point error message for Nth rejected point (up to 100 rejected points)"}}},schema:{$ref:"#/components/schemas/LineProtocolError"}}}},401:{content:{"application/json":{schema:{$ref:"#/components/schemas/Error"}}},description:"Token doesn't have sufficient permissions to write to this database or the database doesn't exist."},403:{content:{"application/json":{schema:{$ref:"#/components/schemas/Error"}}},description:"No token was sent and they are required."},413:{content:{"application/json":{schema:{$ref:"#/components/schemas/LineProtocolLengthError"}}},description:"Write has been rejected because the payload is too large. Error message returns max size supported. All data in body was rejected and not written."},429:{description:"Token is temporarily over quota. The Retry-After header describes when to try the write again.",headers:{"Retry-After":{description:"A non-negative decimal integer indicating the seconds to delay after the response is received.",schema:{format:"int32",type:"integer"}}}},503:{description:"Server is temporarily unavailable to accept writes. The Retry-After header describes when to try the write again.",headers:{"Retry-After":{description:"A non-negative decimal integer indicating the seconds to delay after the response is received.",schema:{format:"int32",type:"integer"}}}},default:{content:{"application/json":{schema:{$ref:"#/components/schemas/Error"}}},description:"Internal server error"}},description:`Writes data to a database. Use this InfluxDB v1-compatible endpoint to send data in [line protocol](/influxdb/clustered/reference/syntax/line-protocol/) format to InfluxDB using v1 API parameters and authorization. InfluxDB does the following when you send a write request: 1. Validates the request 2. If successful, attempts to [ingest the data](/influxdb/clustered/reference/internals/durability/#data-ingest); _error_ otherwise. 3. If successful, responds with _success_ (HTTP \`204\` status code), acknowledging that the data is written and queryable; _error_ otherwise. To ensure that InfluxDB handles writes in the order you request them, wait for a success response (HTTP \`2xx\` status code) before you send the next request. #### Related guides - [Write data with the InfluxDB API](/influxdb/clustered/get-started/write/) - [Optimize writes to InfluxDB](/influxdb/clustered/write-data/best-practices/optimize-writes/) - [Troubleshoot issues writing data](/influxdb/clustered/write-data/troubleshoot/) `,summary:"Write data using the InfluxDB v1 HTTP API",tags:["Write"]}}},components:{parameters:{TraceSpan:{description:"OpenTracing span context",example:{baggage:{key:"value"},span_id:"1",trace_id:"1"},in:"header",name:"Zap-Trace-Span",required:!1,schema:{type:"string"}}},responses:{AuthorizationError:{content:{"application/json":{examples:{tokenNotAuthorized:{summary:"Token is not authorized to access a resource",value:{code:"unauthorized",message:"unauthorized access"}}},schema:{properties:{code:{description:"The HTTP status code description. Default is `unauthorized`.\n",enum:["unauthorized"],readOnly:!0,type:"string"},message:{description:"A human-readable message that may contain detail about the error.",readOnly:!0,type:"string"}}}}},description:`Unauthorized. The error may indicate one of the following: * The \`Authorization: Token\` header is missing or malformed. * The API token value is missing from the header. * The token doesn't have sufficient permissions to write to or query the database. `},BadRequestError:{content:{"application/json":{examples:{orgProvidedNotFound:{summary:"The org or orgID passed doesn't own the token passed in the header",value:{code:"invalid",message:"failed to decode request body: organization not found"}}},schema:{$ref:"#/components/schemas/Error"}}},description:`Bad request. The response body contains details about the error. `},GeneralServerError:{content:{"application/json":{schema:{$ref:"#/components/schemas/Error"}}},description:"Non 2XX error response from server."},InternalServerError:{content:{"application/json":{schema:{$ref:"#/components/schemas/Error"}}},description:`Internal server error. The server encountered an unexpected situation. `},ResourceNotFoundError:{content:{"application/json":{examples:{"bucket-not-found":{summary:"database name not found",value:{code:"not found",message:'database "air_sensor" not found'}},"org-not-found":{summary:"Organization name not found",value:{code:"not found",message:'organization name "my-org" not found'}},"orgID-not-found":{summary:"Organization ID not found",value:{code:"not found",message:"organization not found"}}},schema:{$ref:"#/components/schemas/Error"}}},description:`Not found. A requested resource was not found. The response body contains the requested resource type and the name value (if you passed it)--for example: - \`"organization name \\"my-org\\" not found"\` - \`"organization not found"\`: indicates you passed an ID that did not match an organization. `},ServerError:{content:{"application/json":{schema:{$ref:"#/components/schemas/Error"}}},description:"Non 2XX error response from server."}},schemas:{AddResourceMemberRequestBody:{properties:{id:{description:`The ID of the user to add to the resource. `,type:"string"},name:{description:`The name of the user to add to the resource. `,type:"string"}},required:["id"],type:"object"},AnalyzeQueryResponse:{properties:{errors:{items:{properties:{character:{type:"integer"},column:{type:"integer"},line:{type:"integer"},message:{type:"string"}},type:"object"},type:"array"}},type:"object"},BadStatement:{description:"A placeholder for statements for which no correct statement nodes can be created",properties:{text:{description:"Raw source text",type:"string"},type:{$ref:"#/components/schemas/NodeType"}},type:"object"},BooleanLiteral:{description:"Represents boolean values",properties:{type:{$ref:"#/components/schemas/NodeType"},value:{type:"boolean"}},type:"object"},ConstantVariableProperties:{properties:{type:{enum:["constant"],type:"string"},values:{items:{type:"string"},type:"array"}}},DBRP:{properties:{bucketID:{description:`A database ID. Identifies the database used as the target for the translation. `,type:"string"},database:{description:`A database name. Identifies the InfluxDB v1 database. `,type:"string"},default:{description:"If set to `true`, this DBRP mapping is the default retention policy\nfor the database (specified by the `database` property's value).\n",type:"boolean"},id:{description:`The resource ID that InfluxDB uses to uniquely identify the database retention policy (DBRP) mapping. `,readOnly:!0,type:"string"},links:{$ref:"#/components/schemas/Links"},orgID:{description:`An organization ID. Identifies the [organization](/influxdb/clustered/reference/glossary/#organization) that owns the mapping. `,type:"string"},retention_policy:{description:`A [retention policy](/influxdb/v1.8/concepts/glossary/#retention-policy-rp) name. Identifies the InfluxDB v1 retention policy mapping. `,type:"string"},virtual:{description:"Indicates an autogenerated, virtual mapping based on the database name. Currently only available in OSS.",type:"boolean"}},required:["id","orgID","bucketID","database","retention_policy","default"],type:"object"},DBRPCreate:{properties:{bucketID:{description:`A database ID. Identifies the database used as the target for the translation. `,type:"string"},database:{description:`A database name. Identifies the InfluxDB v1 database. `,type:"string"},default:{description:"Set to `true` to use this DBRP mapping as the default retention policy\nfor the database (specified by the `database` property's value).\n",type:"boolean"},org:{description:`An organization name. Identifies the [organization](/influxdb/clustered/reference/glossary/#organization) that owns the mapping. `,type:"string"},orgID:{description:`An organization ID. Identifies the [organization](/influxdb/clustered/reference/glossary/#organization) that owns the mapping. `,type:"string"},retention_policy:{description:`A [retention policy](/influxdb/v1.8/concepts/glossary/#retention-policy-rp) name. Identifies the InfluxDB v1 retention policy mapping. `,type:"string"}},required:["bucketID","database","retention_policy"],type:"object"},DBRPGet:{properties:{content:{$ref:"#/components/schemas/DBRP",required:!0}},type:"object"},DBRPUpdate:{properties:{default:{description:"Set to `true` to use this DBRP mapping as the default retention policy\nfor the database (specified by the `database` property's value).\nTo remove the default mapping, set to `false`.\n",type:"boolean"},retention_policy:{description:`A [retention policy](/influxdb/v1.8/concepts/glossary/#retention-policy-rp) name. Identifies the InfluxDB v1 retention policy mapping. `,type:"string"}}},DBRPs:{properties:{content:{items:{$ref:"#/components/schemas/DBRP"},type:"array"}}},DateTimeLiteral:{description:"Represents an instant in time with nanosecond precision in [RFC3339Nano date/time format](/influxdb/clustered/reference/glossary/#rfc3339nano-timestamp).",properties:{type:{$ref:"#/components/schemas/NodeType"},value:{format:"date-time",type:"string"}},type:"object"},DecimalPlaces:{description:"Indicates whether decimal places should be enforced, and how many digits it should show.",properties:{digits:{description:"The number of digits after decimal to display",format:"int32",type:"integer"},isEnforced:{description:"Indicates whether decimal point setting should be enforced",type:"boolean"}},type:"object"},DeletePredicateRequest:{description:"The delete predicate request.",properties:{predicate:{description:`An expression in [delete predicate syntax](/influxdb/clustered/reference/syntax/delete-predicate/). `,example:'tag1="value1" and (tag2="value2" and tag3!="value3")',type:"string"},start:{description:`A timestamp ([RFC3339 date/time format](/influxdb/clustered/reference/glossary/#rfc3339-timestamp)). The earliest time to delete from. `,format:"date-time",type:"string"},stop:{description:`A timestamp ([RFC3339 date/time format](/influxdb/clustered/reference/glossary/#rfc3339-timestamp)). The latest time to delete from. `,format:"date-time",type:"string"}},required:["start","stop"],type:"object"},Dialect:{description:`Options for tabular data output. Default output is [annotated CSV](/influxdb/clustered/reference/syntax/annotated-csv/#csv-response-format) with headers. For more information about tabular data **dialect**, see [W3 metadata vocabulary for tabular data](https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/#dialect-descriptions). `,properties:{annotations:{description:`Annotation rows to include in the results. An _annotation_ is metadata associated with an object (column) in the data model. #### Related guides - See [Annotated CSV annotations](/influxdb/clustered/reference/syntax/annotated-csv/#annotations) for examples and more information. For more information about **annotations** in tabular data, see [W3 metadata vocabulary for tabular data](https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/#columns). `,items:{enum:["group","datatype","default"],type:"string"},type:"array",uniqueItems:!0},commentPrefix:{default:"#",description:"The character prefixed to comment strings. Default is a number sign (`#`).",maxLength:1,minLength:0,type:"string"},dateTimeFormat:{default:"RFC3339",description:'The format for timestamps in results.\nDefault is [`RFC3339` date/time format](/influxdb/clustered/reference/glossary/#rfc3339-timestamp).\nTo include nanoseconds in timestamps, use `RFC3339Nano`.\n\n#### Example formatted date/time values\n\n| Format | Value |\n|:------------|:----------------------------|\n| `RFC3339` | `"2006-01-02T15:04:05Z07:00"` |\n| `RFC3339Nano` | `"2006-01-02T15:04:05.999999999Z07:00"` |\n',enum:["RFC3339","RFC3339Nano"],type:"string"},delimiter:{default:",",description:"The separator used between cells. Default is a comma (`,`).",maxLength:1,minLength:1,type:"string"},header:{default:!0,description:"If true, the results contain a header row.",type:"boolean"}},type:"object"},Duration:{description:"A pair consisting of length of time and the unit of time measured. It is the atomic unit from which all duration literals are composed.",properties:{magnitude:{type:"integer"},type:{$ref:"#/components/schemas/NodeType"},unit:{type:"string"}},type:"object"},DurationLiteral:{description:"Represents the elapsed time between two instants as an int64 nanosecond count with syntax of golang's time.Duration",properties:{type:{$ref:"#/components/schemas/NodeType"},values:{description:"Duration values",items:{$ref:"#/components/schemas/Duration"},type:"array"}},type:"object"},Error:{properties:{code:{$ref:"#/components/schemas/ErrorCode",description:"code is the machine-readable error code.",enum:["internal error","not implemented","not found","conflict","invalid","unprocessable entity","empty value","unavailable","forbidden","too many requests","unauthorized","method not allowed","request too large","unsupported media type"],readOnly:!0,type:"string"},err:{description:"Stack of errors that occurred during processing of the request. Useful for debugging.",readOnly:!0,type:"string"},message:{description:"Human-readable message.",readOnly:!0,type:"string"},op:{description:"Describes the logical code operation when the error occurred. Useful for debugging.",readOnly:!0,type:"string"}},required:["code"]},ErrorCode:{description:"code is the machine-readable error code.",enum:["internal error","not implemented","not found","conflict","invalid","unprocessable entity","empty value","unavailable","forbidden","too many requests","unauthorized","method not allowed","request too large","unsupported media type"],readOnly:!0,type:"string"},Field:{properties:{alias:{description:"Alias overrides the field name in the returned response. Applies only if type is `func`",type:"string"},args:{description:"Args are the arguments to the function",items:{$ref:"#/components/schemas/Field"},type:"array"},type:{description:"`type` describes the field type. `func` is a function. `field` is a field reference.",enum:["func","field","integer","number","regex","wildcard"],type:"string"},value:{description:"value is the value of the field. Meaning of the value is implied by the `type` key",type:"string"}},type:"object"},File:{description:"Represents a source from a single file",type:"object"},Flags:{additionalProperties:!0,type:"object"},FloatLiteral:{description:"Represents floating point numbers according to the double representations defined by the IEEE-754-1985",properties:{type:{$ref:"#/components/schemas/NodeType"},value:{type:"number"}},type:"object"},InfluxqlCsvResponse:{description:"CSV Response to InfluxQL Query",example:`name,tags,time,test_field,test_tag test_measurement,,1603740794286107366,1,tag_value test_measurement,,1603740870053205649,2,tag_value test_measurement,,1603741221085428881,3,tag_value `,type:"string"},InfluxqlJsonResponse:{description:"The JSON response for an InfluxQL query.\n\nA response contains the collection of results for a query.\n`results` is an array of resultset objects.\n\nIf the response is chunked, the `transfer-encoding` response header is set to `chunked` and each resultset object is sent in a separate JSON object.\n",properties:{results:{description:"A resultset object that contains the `statement_id` and the `series` array.\n\nExcept for `statement_id`, all properties are optional and omitted if empty. If a property is not present, it is assumed to be `null`.\n",items:{properties:{error:{type:"string"},partial:{description:`True if the resultset is not complete--the response data is chunked; otherwise, false or omitted. `,type:"boolean"},series:{description:`An array of series objects--the results of the query. A series of rows shares the same group key returned from the execution of a statement. If a property is not present, it is assumed to be \`null\`. `,items:{properties:{columns:{description:"An array of column names",items:{type:"string"},type:"array"},name:{description:"The name of the series",type:"string"},partial:{description:`True if the series is not complete--the response data is chunked; otherwise, false or omitted. `,type:"boolean"},tags:{additionalProperties:{type:"string"},description:"A map of tag key-value pairs. If a tag key is not present, it is assumed to be `null`.\n",type:"object"},values:{description:`An array of rows, where each row is an array of values. `,items:{items:{},type:"array"},type:"array"}},type:"object"},type:"array"},statement_id:{description:"An integer that represents the statement's position in the query. If statement results are buffered in memory, `statement_id` is used to combine statement results.\n",type:"integer"}},type:"object"},oneOf:[{required:["statement_id","error"]},{required:["statement_id","series"]}],type:"array"}},type:"object"},IntegerLiteral:{description:"Represents integer numbers",properties:{type:{$ref:"#/components/schemas/NodeType"},value:{type:"string"}},type:"object"},IsOnboarding:{properties:{allowed:{description:"If `true`, the InfluxDB instance hasn't had initial setup;\n`false` otherwise.\n",type:"boolean"}},type:"object"},Label:{properties:{id:{readOnly:!0,type:"string"},name:{type:"string"},orgID:{readOnly:!0,type:"string"},properties:{additionalProperties:{type:"string"},description:'Key-value pairs associated with this label.\nTo remove a property, send an update with an empty value (`""`) for the key.\n',example:{color:"ffb3b3",description:"this is a description"},type:"object"}},type:"object"},LabelCreateRequest:{properties:{name:{type:"string"},orgID:{type:"string"},properties:{additionalProperties:{type:"string"},description:`Key-value pairs associated with this label. To remove a property, send an update with an empty value (\`""\`) for the key. `,example:{color:"ffb3b3",description:"this is a description"},type:"object"}},required:["orgID","name"],type:"object"},LabelMapping:{description:"A _label mapping_ contains a `label` ID to attach to a resource.",properties:{labelID:{description:`A label ID. Specifies the label to attach. `,type:"string"}},required:["labelID"],type:"object"},LabelResponse:{properties:{label:{$ref:"#/components/schemas/Label"},links:{$ref:"#/components/schemas/Links"}},type:"object"},LabelUpdate:{properties:{name:{type:"string"},properties:{additionalProperties:{description:`Key-value pairs associated with this label. To remove a property, send an update with an empty value (\`""\`) for the key. `,type:"string"},example:{color:"ffb3b3",description:"this is a description"},type:"object"}},type:"object"},Labels:{items:{$ref:"#/components/schemas/Label"},type:"array"},LabelsResponse:{properties:{labels:{$ref:"#/components/schemas/Labels"},links:{$ref:"#/components/schemas/Links"}},type:"object"},LanguageRequest:{description:"Flux query to be analyzed.",properties:{query:{description:`The Flux query script to be analyzed. `,type:"string"}},required:["query"],type:"object"},LatLonColumn:{description:"Object type for key and column definitions",properties:{column:{description:"Column to look up Lat/Lon",type:"string"},key:{description:"Key to determine whether the column is tag/field",type:"string"}},required:["key","column"],type:"object"},Limit:{description:"These are org limits similar to those configured in/by quartz.",properties:{bucket:{properties:{maxBuckets:{type:"integer"},maxRetentionDuration:{description:"Max database retention duration in nanoseconds. 0 is unlimited.",type:"integer"}},required:["maxBuckets","maxRetentionDuration"],type:"object"},check:{properties:{maxChecks:{type:"integer"}},required:["maxChecks"],type:"object"},dashboard:{properties:{maxDashboards:{type:"integer"}},required:["maxDashboards"],type:"object"},features:{properties:{allowDelete:{description:"allow delete predicate endpoint",type:"boolean"}},type:"object"},notificationEndpoint:{properties:{blockedNotificationEndpoints:{description:"comma separated list of notification endpoints",example:"http,pagerduty",type:"string"}},required:["blockNotificationEndpoints"],type:"object"},notificationRule:{properties:{blockedNotificationRules:{description:"comma separated list of notification rules",example:"http,pagerduty",type:"string"},maxNotifications:{type:"integer"}},required:["maxNotifications","blockNotificationRules"],type:"object"},orgID:{type:"string"},rate:{properties:{cardinality:{description:"Allowed organization total cardinality. 0 is unlimited.",type:"integer"},concurrentDeleteRequests:{description:"Allowed organization concurrent outstanding delete requests.",type:"integer"},concurrentReadRequests:{description:"Allowed concurrent queries. 0 is unlimited.",type:"integer"},concurrentWriteRequests:{description:"Allowed concurrent writes. 0 is unlimited.",type:"integer"},deleteRequestsPerSecond:{description:"Allowed organization delete request rate.",type:"integer"},queryTime:{description:"Query Time in nanoseconds",type:"integer"},readKBs:{description:"Query limit in kb/sec. 0 is unlimited.",type:"integer"},writeKBs:{description:"Write limit in kb/sec. 0 is unlimited.",type:"integer"}},required:["readKBs","queryTime","concurrentReadRequests","writeKBs","concurrentWriteRequests","cardinality"],type:"object"},stack:{properties:{enabled:{type:"boolean"}},required:["enabled"],type:"object"},task:{properties:{maxTasks:{type:"integer"}},required:["maxTasks"],type:"object"},timeout:{properties:{queryUnconditionalTimeoutSeconds:{type:"integer"},queryidleWriteTimeoutSeconds:{type:"integer"}},required:["queryUnconditionalTimeoutSeconds","queryidleWriteTimeoutSeconds"],type:"object"}},required:["rate","bucket","task","dashboard","check","notificationRule","notificationEndpoint"],type:"object"},LineProtocolError:{properties:{code:{description:"Code is the machine-readable error code.",enum:["internal error","not found","conflict","invalid","empty value","unavailable"],readOnly:!0,type:"string"},err:{description:"Stack of errors that occurred during processing of the request. Useful for debugging.",readOnly:!0,type:"string"},line:{description:"First line in the request body that contains malformed data.",format:"int32",readOnly:!0,type:"integer"},message:{description:"Human-readable message.",readOnly:!0,type:"string"},op:{description:"Describes the logical code operation when the error occurred. Useful for debugging.",readOnly:!0,type:"string"}},required:["code"]},LineProtocolLengthError:{properties:{code:{description:"Code is the machine-readable error code.",enum:["invalid"],readOnly:!0,type:"string"},message:{description:"Human-readable message.",readOnly:!0,type:"string"}},required:["code","message"]},Link:{description:"URI of resource.",format:"uri",readOnly:!0,type:"string"},Links:{description:`URI pointers for additional paged results. `,properties:{next:{$ref:"#/components/schemas/Link"},prev:{$ref:"#/components/schemas/Link"},self:{$ref:"#/components/schemas/Link"}},required:["self"],type:"object"},LogEvent:{properties:{message:{description:"A description of the event that occurred.",example:"Halt and catch fire",readOnly:!0,type:"string"},runID:{description:"The ID of the task run that generated the event.",readOnly:!0,type:"string"},time:{description:"The time ([RFC3339Nano date/time format](/influxdb/clustered/reference/glossary/#rfc3339nano-timestamp)) that the event occurred.",example:"2006-01-02T15:04:05.999999999Z07:00",format:"date-time",readOnly:!0,type:"string"}},type:"object"},Logs:{properties:{events:{items:{$ref:"#/components/schemas/LogEvent"},readOnly:!0,type:"array"}},type:"object"},NodeType:{description:"Type of AST node",type:"string"},OnboardingRequest:{properties:{bucket:{type:"string"},limit:{$ref:"#/components/schemas/Limit"},org:{type:"string"},password:{type:"string"},retentionPeriodHrs:{deprecated:!0,type:"integer"},retentionPeriodSeconds:{type:"integer"},username:{type:"string"}},required:["username","org","bucket"],type:"object"},Organization:{properties:{createdAt:{format:"date-time",readOnly:!0,type:"string"},defaultStorageType:{description:"Discloses whether the organization uses TSM or IOx.",enum:["tsm","iox"],type:"string"},description:{type:"string"},id:{readOnly:!0,type:"string"},links:{example:{buckets:"/api/v2/buckets?org=myorg",dashboards:"/api/v2/dashboards?org=myorg",labels:"/api/v2/orgs/1/labels",members:"/api/v2/orgs/1/members",owners:"/api/v2/orgs/1/owners",secrets:"/api/v2/orgs/1/secrets",self:"/api/v2/orgs/1",tasks:"/api/v2/tasks?org=myorg"},properties:{buckets:{$ref:"#/components/schemas/Link"},dashboards:{$ref:"#/components/schemas/Link"},labels:{$ref:"#/components/schemas/Link"},members:{$ref:"#/components/schemas/Link"},owners:{$ref:"#/components/schemas/Link"},secrets:{$ref:"#/components/schemas/Link"},self:{$ref:"#/components/schemas/Link"},tasks:{$ref:"#/components/schemas/Link"}},readOnly:!0,type:"object"},name:{type:"string"},status:{default:"active",description:"If inactive, the organization is inactive.",enum:["active","inactive"],type:"string"},updatedAt:{format:"date-time",readOnly:!0,type:"string"}},required:["name"]},Organizations:{properties:{links:{$ref:"#/components/schemas/Links"},orgs:{items:{$ref:"#/components/schemas/Organization"},type:"array"}},type:"object"},Package:{description:"Represents a complete package source tree.",properties:{files:{description:"Package files",items:{$ref:"#/components/schemas/File"},type:"array"},package:{description:"Package name",type:"string"},path:{description:"Package import path",type:"string"},type:{$ref:"#/components/schemas/NodeType"}},type:"object"},PackageClause:{description:"Defines a package identifier",type:"object"},Params:{properties:{params:{additionalProperties:{enum:["any","bool","duration","float","int","string","time","uint"],type:"string"},description:"The `params` keys and value type defined in the script.\n",type:"object"}},type:"object"},PasswordResetBody:{properties:{password:{type:"string"}},required:["password"]},PatchBucketRequest:{description:`An object that contains updated database properties to apply. `,properties:{description:{description:`A description of the bucket. `,type:"string"},name:{description:`The name of the bucket. `,type:"string"},retentionRules:{$ref:"#/components/schemas/PatchRetentionRules"}},type:"object"},PatchOrganizationRequest:{description:`An object that contains updated organization properties to apply. `,properties:{description:{description:`The description of the organization. `,type:"string"},name:{description:`The name of the organization. `,type:"string"}},type:"object"},PatchRetentionRule:{properties:{everySeconds:{default:2592e3,description:"The number of seconds to keep data.\nDefault duration is `2592000` (30 days).\n`0` represents infinite retention.\n",example:86400,format:"int64",minimum:0,type:"integer"},shardGroupDurationSeconds:{description:`The [shard group duration](/influxdb/clustered/reference/glossary/#shard). The number of seconds that each shard group covers. #### InfluxDB Cloud - Doesn't use \`shardGroupDurationsSeconds\`. #### Related guides - InfluxDB [shards and shard groups](/influxdb/clustered/reference/internals/shards/) `,format:"int64",type:"integer"},type:{default:"expire",enum:["expire"],type:"string"}},required:["everySeconds"],type:"object"},PatchRetentionRules:{description:"Updates to rules to expire or retain data. No rules means no updates.",items:{$ref:"#/components/schemas/PatchRetentionRule"},type:"array"},PipeLiteral:{description:"Represents a specialized literal value, indicating the left hand value of a pipe expression",properties:{type:{$ref:"#/components/schemas/NodeType"}},type:"object"},Ready:{properties:{started:{example:"2019-03-13T10:09:33.891196-04:00",format:"date-time",type:"string"},status:{enum:["ready"],type:"string"},up:{example:"14m45.911966424s",type:"string"}},type:"object"},RegexpLiteral:{description:"Expressions begin and end with `/` and are regular expressions with syntax accepted by RE2",properties:{type:{$ref:"#/components/schemas/NodeType"},value:{type:"string"}},type:"object"},RetentionRule:{properties:{everySeconds:{default:2592e3,description:`The duration in seconds for how long data will be kept in the database. The default duration is 2592000 (30 days). 0 represents infinite retention. `,example:86400,format:"int64",minimum:0,type:"integer"},shardGroupDurationSeconds:{description:`The shard group duration. The duration or interval (in seconds) that each shard group covers. #### InfluxDB Cloud - Does not use \`shardGroupDurationsSeconds\`. `,format:"int64",type:"integer"},type:{default:"expire",enum:["expire"],type:"string"}},required:["everySeconds"],type:"object"},RetentionRules:{description:"Retention rules to expire or retain data.\nThe InfluxDB `/api/v2` API uses `RetentionRules` to configure the [retention period](/influxdb/clustered/reference/glossary/#retention-period).\n\n#### InfluxDB Cloud\n\n- `retentionRules` is required.\n",items:{$ref:"#/components/schemas/RetentionRule"},type:"array"},SecretKeys:{properties:{secrets:{items:{type:"string"},type:"array"}},type:"object"},SecretKeysResponse:{allOf:[{$ref:"#/components/schemas/SecretKeys"},{properties:{links:{properties:{org:{type:"string"},self:{type:"string"}},readOnly:!0,type:"object"}},type:"object"}]},Secrets:{additionalProperties:{type:"string"},example:{apikey:"abc123xyz"}},StringLiteral:{description:"Expressions begin and end with double quote marks",properties:{type:{$ref:"#/components/schemas/NodeType"},value:{type:"string"}},type:"object"},Token:{properties:{token:{type:"string"}},type:"object"},UnsignedIntegerLiteral:{description:"Represents integer numbers",properties:{type:{$ref:"#/components/schemas/NodeType"},value:{type:"string"}},type:"object"},WritePrecision:{enum:["ms","s","us","ns"],type:"string"}},securitySchemes:{BasicAuthentication:{description:'### Basic authentication scheme\n\nUse the `Authorization` header with the `Basic` scheme to authenticate v1 API `/write` and `/query` requests.\nWhen authenticating requests, InfluxDB Clustered checks that the `password` part of the decoded credential is an authorized [database token](/influxdb/clustered/admin/tokens/#database-tokens).\nInfluxDB Clustered ignores the `username` part of the decoded credential.\n\n### Syntax\n\n```http\nAuthorization: Basic \n```\n\nReplace the following:\n\n- **`[USERNAME]`**: an optional string value (ignored by InfluxDB Clustered).\n- **`DATABASE_TOKEN`**: a [database token](/influxdb/clustered/admin/tokens/#database-tokens).\n- Encode the `[USERNAME]:DATABASE_TOKEN` credential using base64 encoding, and then append the encoded string to the `Authorization: Basic` header.\n\n### Example\n\nThe following example shows how to use cURL with the `Basic` authentication scheme and a [database token](/influxdb/clustered/admin/tokens/#database-tokens):\n\n```sh\n#######################################\n# Use Basic authentication with a database token\n# to query the InfluxDB v1 HTTP API\n#######################################\n# Use the --user option with `--user username:DATABASE_TOKEN` syntax\n#######################################\n\ncurl --get "http://cluster-id.a.influxdb.io/query" \\\n --user "":"DATABASE_TOKEN" \\\n --data-urlencode "db=DATABASE_NAME" \\\n --data-urlencode "q=SELECT * FROM MEASUREMENT"\n```\n\nReplace the following:\n\n- **`DATABASE_NAME`**: your InfluxDB Clustered database\n- **`DATABASE_TOKEN`**: a [database token](/influxdb/clustered/admin/tokens/#database-tokens) with sufficient permissions to the database\n',scheme:"basic",type:"http"},QuerystringAuthentication:{type:"apiKey",in:"query",name:"u=&p=",description:`Use the Querystring authentication scheme with InfluxDB 1.x API parameters to provide credentials through the query string. ### Query string authentication In the URL, pass the \`p\` query parameter to authenticate \`/write\` and \`/query\` requests. When authenticating requests, InfluxDB Clustered checks that \`p\` (_password_) is an authorized database token and ignores the \`u\` (_username_) parameter. ### Syntax \`\`\`http https://cluster-id.a.influxdb.io/query/?[u=any]&p=DATABASE_TOKEN https://cluster-id.a.influxdb.io/write/?[u=any]&p=DATABASE_TOKEN \`\`\` ### Example The following example shows how to use cURL with query string authentication and a [database token](/influxdb/clustered/admin/tokens/#database-tokens). \`\`\`sh ####################################### # Use an InfluxDB 1.x compatible username and password # to query the InfluxDB v1 HTTP API ####################################### # Use authentication query parameters: # ?p=DATABASE_TOKEN ####################################### curl --get "https://cluster-id.a.influxdb.io/query" \\ --data-urlencode "p=DATABASE_TOKEN" \\ --data-urlencode "db=DATABASE_NAME" \\ --data-urlencode "q=SELECT * FROM MEASUREMENT" \`\`\` Replace the following: - **\`DATABASE_NAME\`**: your InfluxDB Clustered database - **\`DATABASE_TOKEN\`**: a [database token](/influxdb/clustered/admin/tokens/#database-tokens) with sufficient permissions to the database `},BearerAuthentication:{type:"http",scheme:"bearer",bearerFormat:"JWT",description:`Use the OAuth Bearer authentication scheme to authenticate to the InfluxDB API. In your API requests, send an \`Authorization\` header. For the header value, provide the word \`Bearer\` followed by a space and a database token. ### Syntax \`\`\`http Authorization: Bearer INFLUX_TOKEN \`\`\` ### Example \`\`\`sh ######################################################## # Use the Bearer token authentication scheme with /api/v2/write # to write data. ######################################################## curl --request post "https://cluster-id.a.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s" \\ --header "Authorization: Bearer DATABASE_TOKEN" \\ --data-binary 'home,room=kitchen temp=72 1463683075' \`\`\` For examples and more information, see the following: - [Authenticate API requests](/influxdb/clustered/primers/api/v2/#authenticate-api-requests) - [Manage tokens](/influxdb/clustered/admin/tokens/) `},TokenAuthentication:{description:`Use the Token authentication scheme to authenticate to the InfluxDB API. In your API requests, send an \`Authorization\` header. For the header value, provide the word \`Token\` followed by a space and a database token. The word \`Token\` is case-sensitive. ### Syntax \`\`\`http Authorization: Token INFLUX_API_TOKEN \`\`\` ### Example \`\`\`sh ######################################################## # Use the Token authentication scheme with /api/v2/write # to write data. ######################################################## curl --request post "https://cluster-id.a.influxdb.io/api/v2/write?bucket=DATABASE_NAME&precision=s" \\ --header "Authorization: Token DATABASE_TOKEN" \\ --data-binary 'home,room=kitchen temp=72 1463683075' \`\`\` ### Related guides - [Authenticate API requests](/influxdb/clustered/primers/api/v2/#authenticate-api-requests) - [Manage tokens](/influxdb/clustered/admin/tokens/) `,in:"header",name:"Authorization",type:"apiKey"}}},"x-tagGroups":[{name:"Using the InfluxDB HTTP API",tags:["Quick start","Authentication","Headers","Pagination","Response codes","System information endpoints"]},{name:"All endpoints",tags:["Ping","Query","Write"]}]}},searchIndex:{store:["tag/Quick-start","tag/Authentication","tag/Headers","tag/Response-codes","tag/System-information-endpoints","tag/Ping","operation/GetPing","operation/HeadPing","tag/Query","operation/GetLegacyQuery","tag/Write","operation/PostWrite","operation/PostLegacyWrite"],index:{version:"2.3.9",fields:["title","description"],fieldVectors:[["title/0",[0,2.391,1,1.484]],["description/0",[2,2.247,3,2.913,4,2.913,5,2.913,6,2.913,7,1.218,8,1.808,9,.651,10,1.218,11,1.218,12,.506,13,.06,14,1.022,15,1.808,16,2.913,17,2.913,18,2.913,19,1.808,20,2.913,21,2.913]],["title/1",[7,1.225]],["description/1",[7,1.206,8,1.789,13,.047,14,.806,22,.146,23,2.223,24,1.206,25,2.223,26,1.511,27,2.883,28,2.883,29,2.883,30,2.883,31,2.883,32,2.883,33,2.883,34,2.883,35,2.883]],["title/2",[36,1.818]],["description/2",[10,.696,12,.289,13,.04,14,.695,15,1.033,22,.151,24,.696,25,1.283,26,1.556,36,2.193,37,.432,38,.573,39,1.283,40,1.245,41,.372,42,1.664,43,1.664,44,1.664,45,1.283,46,1.664,47,1.664,48,1.283,49,1.283,50,1.664,51,1.664,52,1.283,53,1.283,54,1.664,55,2.486,56,1.664,57,1.283,58,1.664,59,1.664,60,.845,61,1.283,62,1.917,63,1.283,64,1.917,65,1.283,66,2.976,67,1.283,68,1.664,69,1.917,70,1.664,71,1.664,72,1.664,73,1.283,74,1.664,75,1.664,76,1.664,77,1.664,78,.696]],["title/3",[41,.534,79,.821]],["description/3",[2,1.126,8,1.567,9,.326,12,.331,13,.031,14,.629,22,.074,23,.661,24,.611,26,1.545,36,1.183,37,.391,38,.253,39,.661,40,1.586,41,.69,45,.661,48,.661,49,.661,52,1.126,53,.661,57,1.126,60,.742,61,.661,62,1.947,63,.661,64,.661,65,.661,67,.661,73,.661,79,.773,80,.629,81,1.397,82,.857,83,1.459,84,.857,85,2.251,86,.857,87,.857,88,1.459,89,1.183,90,.857,91,.857,92,.611,93,1.183,94,.532,95,.906,96,.532,97,.857,98,1.459,99,.661,100,.857,101,.857,102,.857,103,.661,104,.857,105,1.459,106,.857,107,.857,108,.857,109,.857,110,1.459,111,1.459,112,.857,113,.857,114,.857,115,.857,116,1.459,117,.857,118,.857,119,1.459,120,.435,121,.857,122,.857,123,.857,124,1.459,125,1.459,126,1.459,127,1.459,128,.857,129,1.459,130,1.459,131,.857,132,.857,133,.857,134,.532,135,.857,136,1.459,137,.857,138,.857,139,.857,140,.857,141,.857,142,.857,143,.857,144,.857,145,.857,146,1.459,147,.857,148,.857,149,1.459,150,1.459,151,1.459,152,1.459,153,.857,154,.857,155,1.459,156,.857,157,.857,158,.857,159,1.459,160,.857]],["title/4",[38,.351,120,1.027,161,2.02]],["description/4",[]],["title/5",[162,2.929]],["description/5",[]],["title/6",[80,.668,163,1.215]],["description/6",[7,1.193,13,.059,19,1.771,22,.145,37,.495,38,.627,41,.637,79,.98,80,1.009,89,1.771,92,1.193,93,1.771,120,1.45,163,2.012,164,2.201,165,2.201,166,2.201,167,2.201,168,2.201]],["title/7",[80,.668,163,1.215]],["description/7",[7,1.193,13,.059,19,1.771,22,.145,37,.495,38,.627,41,.637,79,.98,80,1.009,89,2.241,92,1.193,93,1.771,120,1.45,163,2.012,165,2.201,166,2.201,167,2.201,168,2.201]],["title/8",[11,1.225]],["description/8",[1,1.422,10,.958,11,1.726,12,.618,13,.037,15,1.94,22,.159,26,1.451,37,.398,38,.398,78,1.307,99,1.767,164,2.411,169,2.291,170,.787,171,2.291,172,2.411,173,2.291,174,2.291,175,2.291,176,2.291,177,2.291,178,2.291,179,2.291,180,2.291,181,1.422,182,1.422,183,2.291,184,2.291,185,2.291]],["title/9",[11,.577,13,.022,14,.385,22,.07,37,.239,170,.474]],["description/9",[11,1.409,13,.065,22,.171,40,1.409,41,.753,78,1.409,170,1.157,172,2.599]],["title/10",[9,.654]],["description/10",[9,.744,12,.578,13,.054,22,.169,38,.578,170,1.144,186,3.329,187,3.329,188,3.329,189,3.329]],["title/11",[9,.534,12,.415]],["description/11",[1,1.141,9,.886,10,.769,12,.548,13,.051,22,.093,24,.769,26,1.265,37,.465,38,.319,40,1.449,41,.411,60,.934,78,.769,79,.919,80,.748,81,1.958,92,.769,94,1.141,95,1.141,96,1.141,134,1.958,181,1.141,182,1.141,190,1.418,191,1.418,192,1.418,193,1.418,194,1.418,195,1.418,196,1.418,197,2.064,198,2.064,199,1.418,200,1.418,201,1.418,202,1.418,203,1.839,204,1.418,205,1.418,206,1.418,207,1.418,208,1.418,209,1.418,210,1.839,211,1.839,212,1.839,213,1.839,214,1.839,215,1.418,216,1.418,217,1.418]],["title/12",[9,.278,12,.216,13,.02,14,.348,22,.063,37,.216,170,.428]],["description/12",[9,.853,10,.754,12,.596,13,.059,14,.504,22,.134,24,.754,26,1.179,37,.458,38,.313,40,1.436,41,.403,60,.916,69,1.391,78,.754,79,.906,80,.737,81,1.936,92,.754,94,1.119,95,1.119,96,1.119,103,1.391,134,1.936,170,.619,181,1.119,182,1.119,190,1.391,191,1.391,192,1.391,193,1.391,194,1.391,195,1.391,196,1.391,197,2.035,198,2.035,199,1.391,200,1.391,201,1.391,202,1.391,204,1.391,205,1.391,206,1.391,207,1.391,208,1.391,209,1.391,215,1.391,216,1.391,217,1.391,218,1.803,219,1.803,220,1.803,221,1.803]]],invertedIndex:[["",{_index:26,title:{},description:{1:{},2:{},3:{},8:{},11:{},12:{}}}],["1",{_index:191,title:{},description:{11:{},12:{}}}],["2",{_index:193,title:{},description:{11:{},12:{}}}],["200",{_index:91,title:{},description:{3:{}}}],["204",{_index:92,title:{},description:{3:{},6:{},7:{},11:{},12:{}}}],["2xx",{_index:207,title:{},description:{11:{},12:{}}}],["3",{_index:199,title:{},description:{11:{},12:{}}}],["400",{_index:97,title:{},description:{3:{}}}],["401",{_index:113,title:{},description:{3:{}}}],["404",{_index:123,title:{},description:{3:{}}}],["405",{_index:128,title:{},description:{3:{}}}],["413",{_index:135,title:{},description:{3:{}}}],["422",{_index:141,title:{},description:{3:{}}}],["429",{_index:145,title:{},description:{3:{}}}],["500",{_index:153,title:{},description:{3:{}}}],["503",{_index:157,title:{},description:{3:{}}}],["_error_",{_index:197,title:{},description:{11:{},12:{}}}],["_flight",{_index:177,title:{},description:{8:{}}}],["_success_",{_index:201,title:{},description:{11:{},12:{}}}],["accept",{_index:55,title:{},description:{2:{}}}],["acknowledg",{_index:94,title:{},description:{3:{},11:{},12:{}}}],["addit",{_index:84,title:{},description:{3:{}}}],["again",{_index:152,title:{},description:{3:{}}}],["allow",{_index:130,title:{},description:{3:{}}}],["api",{_index:14,title:{9:{},12:{}},description:{0:{},1:{},2:{},3:{},12:{}}}],["api/v2/queri",{_index:175,title:{},description:{8:{}}}],["api/v2/writ",{_index:54,title:{},description:{2:{}}}],["api](/influxdb/clustered/get-started/writ",{_index:219,title:{},description:{12:{}}}],["appli",{_index:59,title:{},description:{2:{}}}],["applic",{_index:21,title:{},description:{0:{}}}],["arrow",{_index:180,title:{},description:{8:{}}}],["attempt",{_index:194,title:{},description:{11:{},12:{}}}],["authent",{_index:7,title:{1:{}},description:{0:{},1:{},6:{},7:{}}}],["authentication](#section/authentication/basicauthent",{_index:31,title:{},description:{1:{}}}],["authentication](#section/authentication/bearerauthent",{_index:28,title:{},description:{1:{}}}],["authentication](#section/authentication/querystringauthent",{_index:33,title:{},description:{1:{}}}],["authentication](#section/authentication/tokenauthent",{_index:29,title:{},description:{1:{}}}],["author",{_index:69,title:{},description:{2:{},12:{}}}],["avail",{_index:19,title:{},description:{0:{},6:{},7:{}}}],["bad",{_index:98,title:{},description:{3:{}}}],["basic",{_index:30,title:{},description:{1:{}}}],["bearer",{_index:27,title:{},description:{1:{}}}],["befor",{_index:208,title:{},description:{11:{},12:{}}}],["best",{_index:212,title:{},description:{11:{}}}],["bodi",{_index:62,title:{},description:{2:{},3:{}}}],["byte",{_index:75,title:{},description:{2:{}}}],["can't",{_index:99,title:{},description:{3:{},8:{}}}],["client",{_index:15,title:{},description:{0:{},2:{},8:{}}}],["clients**](/influxdb/clustered/reference/client-librari",{_index:18,title:{},description:{0:{}}}],["cloud",{_index:203,title:{},description:{11:{}}}],["cluster",{_index:176,title:{},description:{8:{}}}],["code",{_index:79,title:{3:{}},description:{3:{},6:{},7:{},11:{},12:{}}}],["common",{_index:44,title:{},description:{2:{}}}],["compress",{_index:58,title:{},description:{2:{}}}],["contain",{_index:106,title:{},description:{3:{}}}],["content",{_index:67,title:{},description:{2:{},3:{}}}],["content-encod",{_index:56,title:{},description:{2:{}}}],["content-length",{_index:71,title:{},description:{2:{}}}],["content-typ",{_index:77,title:{},description:{2:{}}}],["credenti",{_index:70,title:{},description:{2:{}}}],["csv",{_index:173,title:{},description:{8:{}}}],["data",{_index:12,title:{11:{},12:{}},description:{0:{},2:{},3:{},8:{},10:{},11:{},12:{}}}],["data](/influxdb/clustered/get-started/writ",{_index:210,title:{},description:{11:{}}}],["data](/influxdb/clustered/reference/internals/durability/#data-ingest",{_index:196,title:{},description:{11:{},12:{}}}],["data](/influxdb/clustered/write-data",{_index:211,title:{},description:{11:{}}}],["data](/influxdb/clustered/write-data/best-practic",{_index:214,title:{},description:{11:{}}}],["data](/influxdb/clustered/write-data/troubleshoot",{_index:217,title:{},description:{11:{},12:{}}}],["databas",{_index:10,title:{},description:{0:{},2:{},8:{},11:{},12:{}}}],["databases](/influxdb/clustered/admin/databas",{_index:188,title:{},description:{10:{}}}],["describ",{_index:150,title:{},description:{3:{}}}],["descript",{_index:65,title:{},description:{2:{},3:{}}}],["detail",{_index:85,title:{},description:{3:{}}}],["doesn't",{_index:93,title:{},description:{3:{},6:{},7:{}}}],["due",{_index:101,title:{},description:{3:{}}}],["endpoint",{_index:38,title:{4:{}},description:{2:{},3:{},6:{},7:{},8:{},10:{},11:{},12:{}}}],["endpoint](/influxdb/clustered/api/#operation/getlegacyqueri",{_index:171,title:{},description:{8:{}}}],["endpoints--for",{_index:51,title:{},description:{2:{}}}],["ensur",{_index:202,title:{},description:{11:{},12:{}}}],["entiti",{_index:136,title:{},description:{3:{}}}],["entity-bodi",{_index:74,title:{},description:{2:{}}}],["error",{_index:156,title:{},description:{3:{}}}],["exampl",{_index:52,title:{},description:{2:{},3:{}}}],["exce",{_index:139,title:{},description:{3:{}}}],["execut",{_index:184,title:{},description:{8:{}}}],["expect",{_index:108,title:{},description:{3:{}}}],["failur",{_index:82,title:{},description:{3:{}}}],["first",{_index:107,title:{},description:{3:{}}}],["flight",{_index:17,title:{},description:{0:{}}}],["follow",{_index:24,title:{},description:{1:{},2:{},3:{},11:{},12:{}}}],["format",{_index:78,title:{},description:{2:{},8:{},9:{},11:{},12:{}}}],["found",{_index:124,title:{},description:{3:{}}}],["function",{_index:47,title:{},description:{2:{}}}],["grpc_",{_index:178,title:{},description:{8:{}}}],["guid",{_index:182,title:{},description:{8:{},11:{},12:{}}}],["handl",{_index:204,title:{},description:{11:{},12:{}}}],["header",{_index:36,title:{2:{}},description:{2:{},3:{}}}],["header
  • api",{_index:118,title:{},description:{3:{}}}],["http",{_index:37,title:{9:{},12:{}},description:{2:{},3:{},6:{},7:{},8:{},11:{},12:{}}}],["includ",{_index:83,title:{},description:{3:{}}}],["incorrect",{_index:102,title:{},description:{3:{}}}],["indic",{_index:57,title:{},description:{2:{},3:{}}}],["influxdb",{_index:13,title:{9:{},12:{}},description:{0:{},1:{},2:{},3:{},6:{},7:{},8:{},9:{},10:{},11:{},12:{}}}],["influxdb](/influxdb/clustered/get-started/queri",{_index:183,title:{},description:{8:{}}}],["influxdb](/influxdb/clustered/write-data/best-practices/optimize-writ",{_index:221,title:{},description:{12:{}}}],["influxql",{_index:172,title:{},description:{8:{},9:{}}}],["inform",{_index:120,title:{4:{}},description:{3:{},6:{},7:{}}}],["ingest",{_index:195,title:{},description:{11:{},12:{}}}],["instanc",{_index:163,title:{6:{},7:{}},description:{6:{},7:{}}}],["integ",{_index:72,title:{},description:{2:{}}}],["integr",{_index:20,title:{},description:{0:{}}}],["intern",{_index:154,title:{},description:{3:{}}}],["invalid",{_index:143,title:{},description:{3:{}}}],["issu",{_index:216,title:{},description:{11:{},12:{}}}],["json",{_index:174,title:{},description:{8:{}}}],["larg",{_index:137,title:{},description:{3:{}}}],["librari",{_index:16,title:{},description:{0:{}}}],["limit",{_index:140,title:{},description:{3:{}}}],["line",{_index:60,title:{},description:{2:{},3:{},11:{},12:{}}}],["malform",{_index:105,title:{},description:{3:{}}}],["malformed
  • api",{_index:117,title:{},description:{3:{}}}],["manag",{_index:121,title:{},description:{3:{}}}],["mani",{_index:45,title:{},description:{2:{},3:{}}}],["messag",{_index:126,title:{},description:{3:{}}}],["method",{_index:129,title:{},description:{3:{}}}],["miss",{_index:116,title:{},description:{3:{}}}],["monitor",{_index:166,title:{},description:{6:{},7:{}}}],["more",{_index:48,title:{},description:{2:{},3:{}}}],["nbsp;code ",{_index:90,title:{},description:{3:{}}}],["next",{_index:209,title:{},description:{11:{},12:{}}}],["number",{_index:110,title:{},description:{3:{}}}],["on",{_index:23,title:{},description:{1:{},3:{}}}],["oper",{_index:88,title:{},description:{3:{}}}],["operation'",{_index:86,title:{},description:{3:{}}}],["optim",{_index:220,title:{},description:{12:{}}}],["order",{_index:205,title:{},description:{11:{},12:{}}}],["otherwis",{_index:198,title:{},description:{11:{},12:{}}}],["over",{_index:147,title:{},description:{3:{}}}],["paramet",{_index:103,title:{},description:{3:{},12:{}}}],["pars",{_index:100,title:{},description:{3:{}}}],["partial",{_index:109,title:{},description:{3:{}}}],["path",{_index:131,title:{},description:{3:{}}}],["payload",{_index:138,title:{},description:{3:{}}}],["perform",{_index:46,title:{},description:{2:{}}}],["permiss",{_index:119,title:{},description:{3:{}}}],["ping",{_index:162,title:{5:{}},description:{}}],["point",{_index:111,title:{},description:{3:{}}}],["post",{_index:53,title:{},description:{2:{},3:{}}}],["practic",{_index:213,title:{},description:{11:{}}}],["problem",{_index:144,title:{},description:{3:{}}}],["process",{_index:160,title:{},description:{3:{}}}],["protocol",{_index:61,title:{},description:{2:{},3:{}}}],["protocol](/influxdb/clustered/reference/syntax/line-protocol",{_index:190,title:{},description:{11:{},12:{}}}],["provid",{_index:127,title:{},description:{3:{}}}],["queri",{_index:11,title:{8:{},9:{}},description:{0:{},8:{},9:{}}}],["queries](/influxdb/clustered/query-data/execute-queri",{_index:185,title:{},description:{8:{}}}],["queryabl",{_index:96,title:{},description:{3:{},11:{},12:{}}}],["querystr",{_index:32,title:{},description:{1:{}}}],["quick",{_index:0,title:{0:{}},description:{}}],["quota",{_index:148,title:{},description:{3:{}}}],["redoc-inject",{_index:34,title:{},description:{1:{}}}],["reject",{_index:112,title:{},description:{3:{}}}],["relat",{_index:181,title:{},description:{8:{},11:{},12:{}}}],["request",{_index:40,title:{},description:{2:{},3:{},9:{},11:{},12:{}}}],["request--for",{_index:133,title:{},description:{3:{}}}],["requir",{_index:168,title:{},description:{6:{},7:{}}}],["resourc",{_index:125,title:{},description:{3:{}}}],["respond",{_index:200,title:{},description:{11:{},12:{}}}],["respons",{_index:41,title:{3:{}},description:{2:{},3:{},6:{},7:{},9:{},11:{},12:{}}}],["retriev",{_index:164,title:{},description:{6:{},8:{}}}],["retry-aft",{_index:149,title:{},description:{3:{}}}],["return",{_index:89,title:{},description:{3:{},6:{},7:{}}}],["run",{_index:6,title:{},description:{0:{}}}],["sampl",{_index:87,title:{},description:{3:{}}}],["scheme",{_index:25,title:{},description:{1:{},2:{}}}],["security-definit",{_index:35,title:{},description:{1:{}}}],["see",{_index:2,title:{},description:{0:{},3:{}}}],["send",{_index:134,title:{},description:{3:{},11:{},12:{}}}],["sent",{_index:76,title:{},description:{2:{}}}],["seri",{_index:187,title:{},description:{10:{}}}],["server",{_index:155,title:{},description:{3:{}}}],["servic",{_index:158,title:{},description:{3:{}}}],["show",{_index:43,title:{},description:{2:{}}}],["size",{_index:73,title:{},description:{2:{},3:{}}}],["specif",{_index:49,title:{},description:{2:{},3:{}}}],["sql",{_index:179,title:{},description:{8:{}}}],["standard",{_index:39,title:{},description:{2:{},3:{}}}],["start",{_index:1,title:{0:{}},description:{8:{},11:{}}}],["started**](/influxdb/clustered/get-start",{_index:3,title:{},description:{0:{}}}],["statu",{_index:80,title:{6:{},7:{}},description:{3:{},6:{},7:{},11:{},12:{}}}],["store",{_index:169,title:{},description:{8:{}}}],["string",{_index:66,title:{},description:{2:{}}}],["success",{_index:81,title:{},description:{3:{},11:{},12:{}}}],["support",{_index:132,title:{},description:{3:{}}}],["syntax",{_index:104,title:{},description:{3:{}}}],["system",{_index:161,title:{4:{}},description:{}}],["tabl",{_index:42,title:{},description:{2:{}}}],["temporarili",{_index:146,title:{},description:{3:{}}}],["those",{_index:50,title:{},description:{2:{}}}],["time",{_index:186,title:{},description:{10:{}}}],["token",{_index:8,title:{},description:{0:{},1:{},3:{}}}],["tokens](/influxdb/clustered/admin/tokens/)
  • `author",{_index:115,title:{},description:{3:{}}}],["unauthor",{_index:114,title:{},description:{3:{}}}],["unavail",{_index:159,title:{},description:{3:{}}}],["understand",{_index:68,title:{},description:{2:{}}}],["unprocess",{_index:142,title:{},description:{3:{}}}],["up",{_index:5,title:{},description:{0:{}}}],["uptim",{_index:167,title:{},description:{6:{},7:{}}}],["us",{_index:22,title:{9:{},12:{}},description:{1:{},2:{},3:{},6:{},7:{},8:{},9:{},10:{},11:{},12:{}}}],["v1",{_index:170,title:{9:{},12:{}},description:{8:{},9:{},10:{},12:{}}}],["v1-compat",{_index:218,title:{},description:{12:{}}}],["v2",{_index:189,title:{},description:{10:{}}}],["valid",{_index:192,title:{},description:{11:{},12:{}}}],["valu",{_index:63,title:{},description:{2:{},3:{}}}],["version",{_index:165,title:{},description:{6:{},7:{}}}],["wait",{_index:206,title:{},description:{11:{},12:{}}}],["write",{_index:9,title:{10:{},11:{},12:{}},description:{0:{},3:{},10:{},11:{},12:{}}}],["written",{_index:95,title:{},description:{3:{},11:{},12:{}}}]],pipeline:[]}},options:{sortPropsAlphabetically:!0,menuToggle:!0,hideDownloadButton:!0,hideHostname:!0,noAutoAuth:!0}};var container=document.getElementById("redoc");Redoc.hydrate(__redoc_state,container)