diff --git a/content/v2.0/api.html b/content/v2.0/api.html deleted file mode 100644 index c305402ba..000000000 --- a/content/v2.0/api.html +++ /dev/null @@ -1,1672 +0,0 @@ ---- -title: InfluxDB v2.0 API documentation -description: > - The InfluxDB API provides a programmatic interface for interactions with InfluxDB v2.0. -layout: api -menu: - v2_0_ref: - parent: InfluxDB v2 API - name: View full API docs -weight: 102 ---- - - - - -
- -Download OpenAPI specification:Download
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Successfully authenticated
-Unauthorized access
-user account is disabled
-Unsuccessful authentication
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Session successfully expired
-Unauthorized access
-Unsuccessful session expiry
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
All routes
-Returns true if no default user, organization, or bucket has been created.
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
allowed true or false
-Post an onboarding request to set up initial user, org and bucket.
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Source to create
-| bucket required | string |
| org required | string |
| password required | string |
| retentionPeriodHrs | integer |
| username required | string |
Created default user, bucket, org
-| org | string Specifies the name of the organization of the template. - |
| orgID | string Specifies the organization ID of the template. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of template documents
-Unexpected error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Template that will be created
-| content required | object |
| labels | Array of strings An array of label IDs to be added as labels to the document. - |
| meta required | object (DocumentMeta) |
| org | string The organization Name. Specify either |
| orgID | string The organization Name. Specify either |
Template created
-Unexpected error
-| templateID required | string The template ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
The template requested
-Unexpected error
-| templateID required | string The template ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Template that will be updated
-| content | object |
| meta | object (DocumentMeta) |
The newly updated template
-Unexpected error
-| templateID required | string The template ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Unexpected error
-| templateID required | string The template ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of all labels for a template
-Unexpected error
-| templateID required | string The template ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Label to add
-| labelID | string |
The label added to the template
-Unexpected error
-| labelID required | string The label ID. - |
| templateID required | string The template ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Template not found
-Unexpected error
-| orgID | string The organization ID the Telegraf config belongs to. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of Telegraf configs
-Unexpected error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Telegraf config to create
-| agent | object |
| description | string |
| name | string |
| orgID | string |
| plugins | Array of TelegrafPluginInputCpu (object) or TelegrafPluginInputDisk (object) or TelegrafPluginInputDiskio (object) or TelegrafPluginInputDocker (object) or TelegrafPluginInputFile (object) or TelegrafPluginInputKubernetes (object) or TelegrafPluginInputLogParser (object) or TelegrafPluginInputProcstat (object) or TelegrafPluginInputPrometheus (object) or TelegrafPluginInputRedis (object) or TelegrafPluginInputSyslog (object) or TelegrafPluginOutputFile (object) or TelegrafPluginOutputInfluxDBV2 (object) (TelegrafRequestPlugin) |
Telegraf config created
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| Accept | string Default: "application/toml" Enum: "application/toml" "application/json" "application/octet-stream" |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Telegraf config details
-Unexpected error
-[agent] -interval = "10s"
| telegrafID required | string The Telegraf config ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Telegraf config update to apply
-| agent | object |
| description | string |
| name | string |
| orgID | string |
| plugins | Array of TelegrafPluginInputCpu (object) or TelegrafPluginInputDisk (object) or TelegrafPluginInputDiskio (object) or TelegrafPluginInputDocker (object) or TelegrafPluginInputFile (object) or TelegrafPluginInputKubernetes (object) or TelegrafPluginInputLogParser (object) or TelegrafPluginInputProcstat (object) or TelegrafPluginInputPrometheus (object) or TelegrafPluginInputRedis (object) or TelegrafPluginInputSyslog (object) or TelegrafPluginOutputFile (object) or TelegrafPluginOutputInfluxDBV2 (object) (TelegrafRequestPlugin) |
An updated Telegraf config
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of all labels for a Telegraf config
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Label to add
-| labelID | string |
The label added to the Telegraf config
-Unexpected error
-| labelID required | string The label ID. - |
| telegrafID required | string The Telegraf config ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Telegraf config not found
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of Telegraf config members
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as member
-| id required | string |
| name | string |
Member added to Telegraf config
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| userID required | string The ID of the member to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Member removed
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of Telegraf config owners
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as owner
-| id required | string |
| name | string |
Telegraf config owner added
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| userID required | string The ID of the owner to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Owner removed
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of Telegraf config members
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as member
-| id required | string |
| name | string |
Member added to Telegraf config
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| userID required | string The ID of the member to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Member removed
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of Telegraf config owners
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as owner
-| id required | string |
| name | string |
Telegraf config owner added
-Unexpected error
-| telegrafID required | string The Telegraf config ID. - |
| userID required | string The ID of the owner to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Owner removed
-Unexpected error
-| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of scraper target members
-Unexpected error
-| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as member
-| id required | string |
| name | string |
Member added to scraper targets
-Unexpected error
-| scraperTargetID required | string The scraper target ID. - |
| userID required | string The ID of member to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Member removed
-Unexpected error
-| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of scraper target owners
-Unexpected error
-| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as owner
-| id required | string |
| name | string |
Scraper target owner added
-Unexpected error
-| scraperTargetID required | string The scraper target ID. - |
| userID required | string The ID of owner to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Owner removed
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of users who have member privileges for a dashboard
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as member
-| id required | string |
| name | string |
Added to dashboard members
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| userID required | string The ID of the member to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Member removed
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of users who have owner privileges for a dashboard
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as owner
-| id required | string |
| name | string |
Added to dashboard owners
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| userID required | string The ID of the owner to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Owner removed
-Unexpected error
-| bucketID required | string The bucket ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of bucket members
-Unexpected error
-| bucketID required | string The bucket ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as member
-| id required | string |
| name | string |
Member added to bucket
-Unexpected error
-| bucketID required | string The bucket ID. - |
| userID required | string The ID of the member to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Member removed
-Unexpected error
-| bucketID required | string The bucket ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of bucket owners
-Unexpected error
-| bucketID required | string The bucket ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as owner
-| id required | string |
| name | string |
Bucket owner added
-Unexpected error
-| bucketID required | string The bucket ID. - |
| userID required | string The ID of the owner to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Owner removed
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of organization members
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as member
-| id required | string |
| name | string |
Added to organization created
-Unexpected error
-| orgID required | string The organization ID. - |
| userID required | string The ID of the member to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Member removed
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of organization owners
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as owner
-| id required | string |
| name | string |
Organization owner added
-Unexpected error
-| orgID required | string The organization ID. - |
| userID required | string The ID of the owner to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Owner removed
-Unexpected error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Currently authenticated user
-Unexpected error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
New password
-| password required | string |
Password successfully updated
-Unsuccessful authentication
-| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of users who have member privileges for a task
-Unexpected error
-| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as member
-| id required | string |
| name | string |
Added to task members
-Unexpected error
-| taskID required | string The task ID. - |
| userID required | string The ID of the member to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Member removed
-Unexpected error
-| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of users who have owner privileges for a task
-Unexpected error
-| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as owner
-| id required | string |
| name | string |
Added to task owners
-Unexpected error
-| taskID required | string The task ID. - |
| userID required | string The ID of the owner to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Owner removed
-Unexpected error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of users
-Unexpected error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to create
-| name required | string |
| oauthID | string |
| status | string Default: "active" Enum: "active" "inactive" If inactive the user is inactive. - |
User created
-Unexpected error
-| userID required | string The user ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User details
-Unexpected error
-| userID required | string The ID of the user to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User update to apply
-| name required | string |
| oauthID | string |
| status | string Default: "active" Enum: "active" "inactive" If inactive the user is inactive. - |
User updated
-Unexpected error
-| userID required | string The ID of the user to delete. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User deleted
-Unexpected error
-| userID required | string The user ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
New password
-| password required | string |
Password successfully updated
-Unsuccessful authentication
-| userID required | string The user ID. - |
| limit | integer [ 1 .. 100 ] Default: 20 |
| offset | integer >= 0 |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Operation logs for the user
-Unexpected error
-| id | Array of strings List of scraper target IDs to return. If both |
| name | string Specifies the name of the scraper target. - |
| org | string Specifies the organization name of the scraper target. - |
| orgID | string Specifies the organization ID of the scraper target. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
All scraper targets
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Scraper target to create
-| bucketID | string The ID of the bucket to write to. - |
| name | string The name of the scraper target. - |
| orgID | string The organization ID. - |
| type | string Value: "prometheus" The type of the metrics to be parsed. - |
| url | string The URL of the metrics endpoint. - |
Scraper target created
-Internal server error
-| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Scraper target updated
-Internal server error
-| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Scraper target deleted
-Internal server error
-| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Scraper target update to apply
-| bucketID | string The ID of the bucket to write to. - |
| name | string The name of the scraper target. - |
| orgID | string The organization ID. - |
| type | string Value: "prometheus" The type of the metrics to be parsed. - |
| url | string The URL of the metrics endpoint. - |
Scraper target updated
-Internal server error
-| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of all labels for a scraper target
-Unexpected error
-| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Label to add
-| labelID | string |
The newly added label
-Unexpected error
-| labelID required | string The label ID. - |
| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Scraper target not found
-Unexpected error
-| labelID required | string The label ID. - |
| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Label update to apply
-| name | string |
| properties | object Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. - |
Updated successfully
-Scraper target not found
-Unexpected error
-| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of scraper target members
-Unexpected error
-| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as member
-| id required | string |
| name | string |
Member added to scraper targets
-Unexpected error
-| scraperTargetID required | string The scraper target ID. - |
| userID required | string The ID of member to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Member removed
-Unexpected error
-| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of scraper target owners
-Unexpected error
-| scraperTargetID required | string The scraper target ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as owner
-| id required | string |
| name | string |
Scraper target owner added
-Unexpected error
-| scraperTargetID required | string The scraper target ID. - |
| userID required | string The ID of owner to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Owner removed
-Unexpected error
-| org | string The organization name. - |
| orgID | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
All variables for an organization
-Invalid request
-Internal server error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Variable to create
-| arguments required | QueryVariableProperties (object) or ConstantVariableProperties (object) or MapVariableProperties (object) |
| createdAt | string <date-time> |
| description | string |
| labels | Array of objects (Labels) |
| name required | string |
| orgID required | string |
| selected | Array of strings |
| updatedAt | string <date-time> |
Variable created
-Internal server error
-| variableID required | string The variable ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Variable found
-Variable not found
-Internal server error
-| variableID required | string The variable ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Variable deleted
-Internal server error
-| variableID required | string The variable ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Variable update to apply
-| arguments required | QueryVariableProperties (object) or ConstantVariableProperties (object) or MapVariableProperties (object) |
| createdAt | string <date-time> |
| description | string |
| labels | Array of objects (Labels) |
| name required | string |
| orgID required | string |
| selected | Array of strings |
| updatedAt | string <date-time> |
Variable updated
-Internal server error
-| variableID required | string The variable ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Variable to replace
-| arguments required | QueryVariableProperties (object) or ConstantVariableProperties (object) or MapVariableProperties (object) |
| createdAt | string <date-time> |
| description | string |
| labels | Array of objects (Labels) |
| name required | string |
| orgID required | string |
| selected | Array of strings |
| updatedAt | string <date-time> |
Variable updated
-Internal server error
-| variableID required | string The variable ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of all labels for a variable
-Unexpected error
-| variableID required | string The variable ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Label to add
-| labelID | string |
The newly added label
-Unexpected error
-| labelID required | string The label ID to delete. - |
| variableID required | string The variable ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Variable not found
-Unexpected error
-| bucket required | string The destination bucket for writes. - |
| org required | string Specifies the destination organization for writes. Takes either the ID or Name interchangeably. If both |
| orgID | string Specifies the ID of the destination organization for writes. If both |
| precision | string (WritePrecision) Enum: "ms" "s" "us" "ns" The precision for the unix timestamps within the body line-protocol. - |
| Accept | string Default: "application/json" Value: "application/json" Specifies the return content format. - |
| Content-Encoding | string Default: "identity" Enum: "gzip" "identity" When present, its value indicates to the database that compression is applied to the line-protocol body. - |
| Content-Length | integer Content-Length is an entity header is indicating the size of the entity-body, in bytes, sent to the database. If the length is greater than the database max body configuration option, a 413 response is sent. - |
| Content-Type | string Default: "text/plain; charset=utf-8" Enum: "text/plain" "text/plain; charset=utf-8" "application/vnd.influx.arrow" Content-Type is used to indicate the format of the data sent to the server. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Line protocol body
-Write data is correctly formatted and accepted for writing to the bucket.
-Line protocol poorly formed and no points were written. Response can be used to determine the first malformed line in the body line-protocol. All data in body was rejected and not written.
-Token does not have sufficient permissions to write to this organization and bucket or the organization and bucket do not exist.
-No token was sent and they are required.
-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.
-Token is temporarily over quota. The Retry-After header describes when to try the write again.
-Server is temporarily unavailable to accept writes. The Retry-After header describes when to try the write again.
-Internal server error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
The instance is ready
-Unexpected error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
The instance is healthy
-The instance is unhealthy
-Unexpected error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Source to create
-| default | boolean |
| defaultRP | string |
| id | string |
| insecureSkipVerify | boolean |
| links | object |
| metaUrl | string <uri> |
| name | string |
| orgID | string |
| password | string |
| sharedSecret | string |
| telegraf | string |
| token | string |
| type | string Enum: "v1" "v2" "self" |
| url | string <uri> |
| username | string |
Created Source
-Unexpected error
-| org | string The organization name. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
All sources
-Unexpected error
-| sourceID required | string The source ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-View not found
-Unexpected error
-| sourceID required | string The source ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Source update
-| default | boolean |
| defaultRP | string |
| id | string |
| insecureSkipVerify | boolean |
| links | object |
| metaUrl | string <uri> |
| name | string |
| orgID | string |
| password | string |
| sharedSecret | string |
| telegraf | string |
| token | string |
| type | string Enum: "v1" "v2" "self" |
| url | string <uri> |
| username | string |
Created Source
-Source not found
-Unexpected error
-| sourceID required | string The source ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A source
-Source not found
-Unexpected error
-| sourceID required | string The source ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
The source is healthy
-The source is not healthy
-Unexpected error
-| sourceID required | string The source ID. - |
| org | string The organization name. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A source
-Source not found
-Unexpected error
-| sourceID required | string The source ID. - |
| org | string The organization name. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A source
-Source not found
-Unexpected error
-| limit | integer [ 1 .. 100 ] Default: 20 |
| name | string Only returns buckets with a specific name. - |
| offset | integer >= 0 |
| org | string The organization name. - |
| orgID | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of buckets
-Unexpected error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Bucket to create
-| description | string |
| labels | Array of objects (Labels) |
| name required | string |
| orgID | string |
| retentionRules required | Array of objects Rules to expire or retain data. No rules means data never expires. - |
| rp | string |
Bucket created
-Unexpected error
-| bucketID required | string The bucket ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Bucket details
-Unexpected error
-| bucketID required | string The bucket ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Bucket update to apply
-| description | string |
| labels | Array of objects (Labels) |
| name required | string |
| orgID | string |
| retentionRules required | Array of objects Rules to expire or retain data. No rules means data never expires. - |
| rp | string |
An updated bucket
-Unexpected error
-| bucketID required | string The ID of the bucket to delete. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Bucket not found
-Unexpected error
-| bucketID required | string The bucket ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of all labels for a bucket
-Unexpected error
-| bucketID required | string The bucket ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Label to add
-| labelID | string |
The newly added label
-Unexpected error
-| bucketID required | string The bucket ID. - |
| labelID required | string The ID of the label to delete. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Bucket not found
-Unexpected error
-| bucketID required | string The bucket ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of bucket members
-Unexpected error
-| bucketID required | string The bucket ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as member
-| id required | string |
| name | string |
Member added to bucket
-Unexpected error
-| bucketID required | string The bucket ID. - |
| userID required | string The ID of the member to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Member removed
-Unexpected error
-| bucketID required | string The bucket ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of bucket owners
-Unexpected error
-| bucketID required | string The bucket ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as owner
-| id required | string |
| name | string |
Bucket owner added
-Unexpected error
-| bucketID required | string The bucket ID. - |
| userID required | string The ID of the owner to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Owner removed
-Unexpected error
-| bucketID required | string The bucket ID. - |
| limit | integer [ 1 .. 100 ] Default: 20 |
| offset | integer >= 0 |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Operation logs for the bucket
-Unexpected error
-Label to create
-| name | string |
| orgID required | string |
| properties | object Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. - |
Added label
-Unexpected error
-| orgID | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
All labels
-Unexpected error
-| labelID required | string The ID of the label to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A label
-Unexpected error
-| labelID required | string The ID of the label to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Label update
-| name | string |
| properties | object Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value. - |
Updated label
-Label not found
-Unexpected error
-| labelID required | string The ID of the label to delete. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Label not found
-Unexpected error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Dashboard to create
-| description | string The user-facing description of the dashboard. - |
| name required | string The user-facing name of the dashboard. - |
| orgID required | string The ID of the organization that owns the dashboard. - |
Added dashboard
-Unexpected error
-| id | Array of strings List of dashboard IDs to return. If both |
| org | string The organization name. - |
| orgID | string The organization ID. - |
| owner | string The owner ID. - |
| sortBy | string Enum: "ID" "CreatedAt" "UpdatedAt" The column to sort by. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
All dashboards
-Unexpected error
-| dashboardID required | string The ID of the dashboard to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Get a single dashboard
-Dashboard not found
-Unexpected error
-| dashboardID required | string The ID of the dashboard to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Patching of a dashboard
-| cells | Array of objects (Cells) |
| description | string The user-facing description of the dashboard. - |
| labels | Array of objects (Labels) |
| links | object |
| meta | object |
| name required | string The user-facing name of the dashboard. - |
| orgID required | string The ID of the organization that owns the dashboard. - |
Updated dashboard
-Dashboard not found
-Unexpected error
-| dashboardID required | string The ID of the dashboard to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Dashboard not found
-Unexpected error
-Replaces all cells in a dashboard. This is used primarily to update the positional information of all cells.
-| dashboardID required | string The ID of the dashboard to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
| h | integer <int32> |
| id | string |
| links | object |
| viewID | string The reference to a view from the views API. - |
| w | integer <int32> |
| x | integer <int32> |
| y | integer <int32> |
Replaced dashboard cells
-Dashboard not found
-Unexpected error
-| dashboardID required | string The ID of the dashboard to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Cell that will be added
-| h | integer <int32> |
| name | string |
| usingView | string Makes a copy of the provided view. - |
| w | integer <int32> |
| x | integer <int32> |
| y | integer <int32> |
Cell successfully added
-Dashboard not found
-Unexpected error
-Updates the non positional information related to a cell. Updates to a single cell's positional data could cause grid conflicts.
-| cellID required | string The ID of the cell to update. - |
| dashboardID required | string The ID of the dashboard to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
| h | integer <int32> |
| w | integer <int32> |
| x | integer <int32> |
| y | integer <int32> |
Updated dashboard cell
-Cell or dashboard not found
-Unexpected error
-| cellID required | string The ID of the cell to delete. - |
| dashboardID required | string The ID of the dashboard to delete. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Cell successfully deleted
-Cell or dashboard not found
-Unexpected error
-| cellID required | string The cell ID. - |
| dashboardID required | string The dashboard ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A dashboard cells view
-Cell or dashboard not found
-Unexpected error
-| cellID required | string The ID of the cell to update. - |
| dashboardID required | string The ID of the dashboard to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
| name required | string |
| properties required | LinePlusSingleStatProperties (object) or XYViewProperties (object) or SingleStatViewProperties (object) or HistogramViewProperties (object) or GaugeViewProperties (object) or TableViewProperties (object) or MarkdownViewProperties (object) or CheckViewProperties (object) or ScatterViewProperties (object) or HeatmapViewProperties (object) (ViewProperties) |
Updated cell view
-Cell or dashboard not found
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of all labels for a dashboard
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Label to add
-| labelID | string |
The label added to the dashboard
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| labelID required | string The ID of the label to delete. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Dashboard not found
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of users who have member privileges for a dashboard
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as member
-| id required | string |
| name | string |
Added to dashboard members
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| userID required | string The ID of the member to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Member removed
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of users who have owner privileges for a dashboard
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as owner
-| id required | string |
| name | string |
Added to dashboard owners
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| userID required | string The ID of the owner to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Owner removed
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| limit | integer [ 1 .. 100 ] Default: 20 |
| offset | integer >= 0 |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Operation logs for the dashboard
-Unexpected error
-Replaces all cells in a dashboard. This is used primarily to update the positional information of all cells.
-| dashboardID required | string The ID of the dashboard to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
| h | integer <int32> |
| id | string |
| links | object |
| viewID | string The reference to a view from the views API. - |
| w | integer <int32> |
| x | integer <int32> |
| y | integer <int32> |
Replaced dashboard cells
-Dashboard not found
-Unexpected error
-| dashboardID required | string The ID of the dashboard to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Cell that will be added
-| h | integer <int32> |
| name | string |
| usingView | string Makes a copy of the provided view. - |
| w | integer <int32> |
| x | integer <int32> |
| y | integer <int32> |
Cell successfully added
-Dashboard not found
-Unexpected error
-Updates the non positional information related to a cell. Updates to a single cell's positional data could cause grid conflicts.
-| cellID required | string The ID of the cell to update. - |
| dashboardID required | string The ID of the dashboard to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
| h | integer <int32> |
| w | integer <int32> |
| x | integer <int32> |
| y | integer <int32> |
Updated dashboard cell
-Cell or dashboard not found
-Unexpected error
-| cellID required | string The ID of the cell to delete. - |
| dashboardID required | string The ID of the dashboard to delete. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Cell successfully deleted
-Cell or dashboard not found
-Unexpected error
-| cellID required | string The cell ID. - |
| dashboardID required | string The dashboard ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A dashboard cells view
-Cell or dashboard not found
-Unexpected error
-| cellID required | string The ID of the cell to update. - |
| dashboardID required | string The ID of the dashboard to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
| name required | string |
| properties required | LinePlusSingleStatProperties (object) or XYViewProperties (object) or SingleStatViewProperties (object) or HistogramViewProperties (object) or GaugeViewProperties (object) or TableViewProperties (object) or MarkdownViewProperties (object) or CheckViewProperties (object) or ScatterViewProperties (object) or HeatmapViewProperties (object) (ViewProperties) |
Updated cell view
-Cell or dashboard not found
-Unexpected error
-| cellID required | string The cell ID. - |
| dashboardID required | string The dashboard ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A dashboard cells view
-Cell or dashboard not found
-Unexpected error
-| cellID required | string The ID of the cell to update. - |
| dashboardID required | string The ID of the dashboard to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
| name required | string |
| properties required | LinePlusSingleStatProperties (object) or XYViewProperties (object) or SingleStatViewProperties (object) or HistogramViewProperties (object) or GaugeViewProperties (object) or TableViewProperties (object) or MarkdownViewProperties (object) or CheckViewProperties (object) or ScatterViewProperties (object) or HeatmapViewProperties (object) (ViewProperties) |
Updated cell view
-Cell or dashboard not found
-Unexpected error
-| dashboardID required | string The dashboard ID. - |
| limit | integer [ 1 .. 100 ] Default: 20 |
| offset | integer >= 0 |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Operation logs for the dashboard
-Unexpected error
-| bucketID required | string The bucket ID. - |
| limit | integer [ 1 .. 100 ] Default: 20 |
| offset | integer >= 0 |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Operation logs for the bucket
-Unexpected error
-| orgID required | string The organization ID. - |
| limit | integer [ 1 .. 100 ] Default: 20 |
| offset | integer >= 0 |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Operation logs for the organization
-Unexpected error
-| userID required | string The user ID. - |
| limit | integer [ 1 .. 100 ] Default: 20 |
| offset | integer >= 0 |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Operation logs for the user
-Unexpected error
-Analyzes flux query and generates a query specification.
-| Content-Type | string Value: "application/json" |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Analyzed Flux query to generate abstract syntax tree.
-| query required | string Flux query script to be analyzed - |
Abstract syntax tree of flux query.
-Any response other than 200 is an internal server error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Suggestions for next functions in call chain
-Any response other than 200 is an internal server error
-| name required | string The name of the branching suggestion. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Suggestions for next functions in call chain
-Any response other than 200 is an internal server error
-| Content-Type | string Value: "application/json" |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Flux or InfluxQL query to analyze
-| cluster | string Required for |
| db | string Required for |
| dialect | object (Dialect) Dialect are options to change the default CSV output format; https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/#dialect-descriptions - |
| extern | object (File) Represents a source from a single file - |
| query required | string Query script to execute. - |
| rp | string Required for |
| type | string Default: "flux" Enum: "flux" "influxql" The type of query. - |
Query analyze results. Errors will be empty if the query is valid.
-Internal server error
-| org | string Specifies the name of the organization executing the query. Takes either the ID or Name interchangeably. If both |
| orgID | string Specifies the ID of the organization executing the query. If both |
| Accept-Encoding | string Default: "identity" Enum: "gzip" "identity" The Accept-Encoding request HTTP header advertises which content encoding, usually a compression algorithm, the client is able to understand. - |
| Content-Type | string Enum: "application/json" "application/vnd.flux" |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Flux query or specification to execute
-| cluster | string Required for |
| db | string Required for |
| dialect | object (Dialect) Dialect are options to change the default CSV output format; https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/#dialect-descriptions - |
| extern | object (File) Represents a source from a single file - |
| query required | string Query script to execute. - |
| rp | string Required for |
| type | string Default: "flux" Enum: "flux" "influxql" The type of query. - |
Query results
-Token is temporarily over quota. The Retry-After header describes when to try the read again.
-Error processing query
-| org | string Only show authorizations that belong to a organization name. - |
| orgID | string Only show authorizations that belong to an organization ID. - |
| user | string Only show authorizations that belong to a user name. - |
| userID | string Only show authorizations that belong to a user ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of authorizations
-Unexpected error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Authorization to create
-| description | string A description of the token. - |
| orgID required | string ID of org that authorization is scoped to. - |
| permissions required | Array of objects (Permission) non-empty List of permissions for an auth. An auth must have at least one Permission. - |
| status | string Default: "active" Enum: "active" "inactive" If inactive the token is inactive and requests using the token will be rejected. - |
Authorization created
-Invalid request
-Unexpected error
-| authID required | string The ID of the authorization to get. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Authorization details
-Unexpected error
-| authID required | string The ID of the authorization to update. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Authorization to update
-| description | string A description of the token. - |
| status | string Default: "active" Enum: "active" "inactive" If inactive the token is inactive and requests using the token will be rejected. - |
The active or inactie authorization
-Unexpected error
-| authID required | string The ID of the authorization to delete. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Authorization deleted
-Unexpected error
-| org | string Filter organizations to a specific organization name. - |
| orgID | string Filter organizations to a specific organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of organizations
-Unexpected error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Organization to create
-| description | string |
| name required | string |
| status | string Default: "active" Enum: "active" "inactive" If inactive the organization is inactive. - |
Organization created
-Unexpected error
-| orgID required | string The ID of the organization to get. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Organization details
-Unexpected error
-| orgID required | string The ID of the organization to get. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Organization update to apply
-| description | string |
| name required | string |
| status | string Default: "active" Enum: "active" "inactive" If inactive the organization is inactive. - |
Organization updated
-Unexpected error
-| orgID required | string The ID of the organization to delete. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Organization not found
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of all labels for an organization
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Label to add
-| labelID | string |
Returns the created label
-Unexpected error
-| labelID required | string The label ID. - |
| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Organization not found
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of all secret keys
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Secret key value pairs to update/add
-| property name* | string |
Keys successfully patched
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Secret key to delete
-| secrets | Array of strings |
Keys successfully patched
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of organization members
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as member
-| id required | string |
| name | string |
Added to organization created
-Unexpected error
-| orgID required | string The organization ID. - |
| userID required | string The ID of the member to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Member removed
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of organization owners
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as owner
-| id required | string |
| name | string |
Organization owner added
-Unexpected error
-| orgID required | string The organization ID. - |
| userID required | string The ID of the owner to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Owner removed
-Unexpected error
-| orgID required | string The organization ID. - |
| limit | integer [ 1 .. 100 ] Default: 20 |
| offset | integer >= 0 |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Operation logs for the organization
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of all secret keys
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Secret key value pairs to update/add
-| property name* | string |
Keys successfully patched
-Unexpected error
-| orgID required | string The organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Secret key to delete
-| secrets | Array of strings |
Keys successfully patched
-Unexpected error
-| after | string Return tasks after a specified ID. - |
| limit | integer [ 1 .. 500 ] Default: 100 The number of tasks to return - |
| name | string Returns task with a specific name. - |
| org | string Filter tasks to a specific organization name. - |
| orgID | string Filter tasks to a specific organization ID. - |
| user | string Filter tasks to a specific user ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of tasks
-Unexpected error
-| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Task to create
-| description | string An optional description of the task. - |
| flux required | string The Flux script to run for this task. - |
| org | string The name of the organization that owns this Task. - |
| orgID | string The ID of the organization that owns this Task. - |
| status | string (TaskStatusType) Enum: "active" "inactive" |
| type | string The type of task, this can be used for filtering tasks on list actions. - |
Task created
-Unexpected error
-| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Task details
-Unexpected error
-Update a task. This will cancel all queued runs.
-| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Task update to apply
-| cron | string Override the 'cron' option in the flux script. - |
| description | string An optional description of the task. - |
| every | string Override the 'every' option in the flux script. - |
| flux | string The Flux script to run for this task. - |
| name | string Override the 'name' option in the flux script. - |
| offset | string Override the 'offset' option in the flux script. - |
| status | string (TaskStatusType) Enum: "active" "inactive" |
Task updated
-Unexpected error
-Deletes a task and all associated records
-| taskID required | string The ID of the task to delete. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Task deleted
-Unexpected error
-| taskID required | string The ID of the task to get runs for. - |
| after | string Returns runs after a specific ID. - |
| afterTime | string <date-time> Filter runs to those scheduled after this time, RFC3339 - |
| beforeTime | string <date-time> Filter runs to those scheduled before this time, RFC3339 - |
| limit | integer [ 1 .. 500 ] Default: 100 The number of runs to return - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of task runs
-Unexpected error
-| taskID required | string |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
| scheduledFor | string <date-time> Nullable Time used for run's "now" option, RFC3339. Default is the server's now time. - |
Run scheduled to start
-Unexpected error
-| runID required | string The run ID. - |
| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
The run record
-Unexpected error
-| runID required | string The run ID. - |
| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Unexpected error
-| runID required | string The run ID. - |
| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Run that has been queued
-Unexpected error
-| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
All logs for a task
-Unexpected error
-| runID required | string ID of run to get logs for. - |
| taskID required | string ID of task to get logs for. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
All logs for a run
-Unexpected error
-| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of all labels for a task
-Unexpected error
-| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Label to add
-| labelID | string |
A list of all labels for a task
-Unexpected error
-| labelID required | string The label ID. - |
| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Task not found
-Unexpected error
-| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of users who have member privileges for a task
-Unexpected error
-| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as member
-| id required | string |
| name | string |
Added to task members
-Unexpected error
-| taskID required | string The task ID. - |
| userID required | string The ID of the member to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Member removed
-Unexpected error
-| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of users who have owner privileges for a task
-Unexpected error
-| taskID required | string The task ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
User to add as owner
-| id required | string |
| name | string |
Added to task owners
-Unexpected error
-| taskID required | string The task ID. - |
| userID required | string The ID of the owner to remove. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Owner removed
-Unexpected error
-| limit | integer [ 1 .. 100 ] Default: 20 |
| offset | integer >= 0 |
| orgID required | string Only show checks that belong to a specific organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of checks
-Unexpected error
-Check to create
-| description | string An optional description of the check. - |
| every | string Check repetition interval. - |
| labels | Array of objects (Labels) |
| level | string (CheckStatusLevel) Enum: "UNKNOWN" "OK" "INFO" "CRIT" "WARN" The state to record if check matches a criteria. - |
| name required | string |
| offset | string Duration to delay after the schedule, before executing check. - |
| orgID required | string The ID of the organization that owns this check. - |
| query required | object (DashboardQuery) |
| reportZero | boolean If only zero values reported since time, trigger an alert - |
| staleTime | string String duration for time that a series is considered stale and should not trigger deadman. - |
| status | string (TaskStatusType) Enum: "active" "inactive" |
| statusMessageTemplate | string The template used to generate and write a status message. - |
| tags | Array of objects List of tags to write to each status. - |
| timeSince | string String duration before deadman triggers. - |
| type required | string deadman |
Check created
-Unexpected error
-| checkID required | string The check ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
The check requested
-Unexpected error
-| checkID required | string The check ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Check update to apply
-| description | string An optional description of the check. - |
| every | string Check repetition interval. - |
| labels | Array of objects (Labels) |
| level | string (CheckStatusLevel) Enum: "UNKNOWN" "OK" "INFO" "CRIT" "WARN" The state to record if check matches a criteria. - |
| name required | string |
| offset | string Duration to delay after the schedule, before executing check. - |
| orgID required | string The ID of the organization that owns this check. - |
| query required | object (DashboardQuery) |
| reportZero | boolean If only zero values reported since time, trigger an alert - |
| staleTime | string String duration for time that a series is considered stale and should not trigger deadman. - |
| status | string (TaskStatusType) Enum: "active" "inactive" |
| statusMessageTemplate | string The template used to generate and write a status message. - |
| tags | Array of objects List of tags to write to each status. - |
| timeSince | string String duration before deadman triggers. - |
| type required | string deadman |
An updated check
-The check was not found
-Unexpected error
-| checkID required | string The check ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Check update to apply
-| description | string |
| name | string |
| status | string Enum: "active" "inactive" |
An updated check
-The check was not found
-Unexpected error
-| checkID required | string The check ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-The check was not found
-Unexpected error
-| checkID required | string The check ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of all labels for a check
-Unexpected error
-| checkID required | string The check ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Label to add
-| labelID | string |
The label was added to the check
-Unexpected error
-| checkID required | string The check ID. - |
| labelID required | string The ID of the label to delete. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Check or label not found
-Unexpected error
-| checkID required | string The check ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
The check query requested
-Invalid request
-Check not found
-Unexpected error
-| checkID | string Only show notifications that belong to the specific check ID. - |
| limit | integer [ 1 .. 100 ] Default: 20 |
| offset | integer >= 0 |
| orgID required | string Only show notification rules that belong to a specific organization ID. - |
| tag | string^[a-zA-Z0-9_]+:[a-zA-Z0-9_]+$ Example: tag=env%3Aprod Only show notification rules that match a tag pair. Uses |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of notification rules
-Unexpected error
-Notification rule to create
-| channel | string |
| description | string An optional description of the notification rule. - |
| endpointID required | string |
| every | string The notification repetition interval. - |
| labels | Array of objects (Labels) |
| limit | integer Don't notify me more than |
| limitEvery | integer Don't notify me more than |
| messageTemplate required | string |
| name required | string Human-readable name describing the notification rule. - |
| offset | string Duration to delay after the schedule, before executing check. - |
| orgID required | string The ID of the organization that owns this notification rule. - |
| runbookLink | string |
| sleepUntil | string |
| status required | string (TaskStatusType) Enum: "active" "inactive" |
| statusRules required | Array of objects (StatusRule) non-empty List of status rules the notification rule attempts to match. - |
| tagRules required | Array of objects (TagRule) List of tag rules the notification rule attempts to match. - |
| type required | string slack |
Notification rule created
-Unexpected error
-| ruleID required | string The notification rule ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
The notification rule requested
-Unexpected error
-| ruleID required | string The notification rule ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Notification rule update to apply
-| channel | string |
| description | string An optional description of the notification rule. - |
| endpointID required | string |
| every | string The notification repetition interval. - |
| labels | Array of objects (Labels) |
| limit | integer Don't notify me more than |
| limitEvery | integer Don't notify me more than |
| messageTemplate required | string |
| name required | string Human-readable name describing the notification rule. - |
| offset | string Duration to delay after the schedule, before executing check. - |
| orgID required | string The ID of the organization that owns this notification rule. - |
| runbookLink | string |
| sleepUntil | string |
| status required | string (TaskStatusType) Enum: "active" "inactive" |
| statusRules required | Array of objects (StatusRule) non-empty List of status rules the notification rule attempts to match. - |
| tagRules required | Array of objects (TagRule) List of tag rules the notification rule attempts to match. - |
| type required | string slack |
An updated notification rule
-The notification rule was not found
-Unexpected error
-| ruleID required | string The notification rule ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Notification rule update to apply
-| description | string |
| name | string |
| status | string Enum: "active" "inactive" |
An updated notification rule
-The notification rule was not found
-Unexpected error
-| ruleID required | string The notification rule ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-The check was not found
-Unexpected error
-| ruleID required | string The notification rule ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of all labels for a notification rule
-Unexpected error
-| ruleID required | string The notification rule ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Label to add
-| labelID | string |
The label was added to the notification rule
-Unexpected error
-| labelID required | string The ID of the label to delete. - |
| ruleID required | string The notification rule ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Rule or label not found
-Unexpected error
-| ruleID required | string The notification rule ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
The notification rule query requested
-Invalid request
-Notification rule not found
-Unexpected error
-| limit | integer [ 1 .. 100 ] Default: 20 |
| offset | integer >= 0 |
| orgID required | string Only show notification endpoints that belong to specific organization ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of notification endpoints
-Unexpected error
-Notification endpoint to create
-| description | string An optional description of the notification endpoint. - |
| id | string |
| labels | Array of objects (Labels) |
| name required | string |
| orgID | string |
| status | string Default: "active" Enum: "active" "inactive" The status of the endpoint. - |
| token | string Specifies the API token string. Specify either |
| type required | string (NotificationEndpointType) slack |
| url | string Specifies the URL of the Slack endpoint. Specify either |
| userID | string |
Notification endpoint created
-Unexpected error
-| endpointID required | string The notification endpoint ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
The notification endpoint requested
-Unexpected error
-| endpointID required | string The notification endpoint ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A new notification endpoint to replace the existing endpoint with
-| description | string An optional description of the notification endpoint. - |
| id | string |
| labels | Array of objects (Labels) |
| name required | string |
| orgID | string |
| status | string Default: "active" Enum: "active" "inactive" The status of the endpoint. - |
| token | string Specifies the API token string. Specify either |
| type required | string (NotificationEndpointType) slack |
| url | string Specifies the URL of the Slack endpoint. Specify either |
| userID | string |
An updated notification endpoint
-The notification endpoint was not found
-Unexpected error
-| endpointID required | string The notification endpoint ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Check update to apply
-| description | string |
| name | string |
| status | string Enum: "active" "inactive" |
An updated notification endpoint
-The notification endpoint was not found
-Unexpected error
-| endpointID required | string The notification endpoint ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-The endpoint was not found
-Unexpected error
-| endpointID required | string The notification endpoint ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
A list of all labels for a notification endpoint
-Unexpected error
-| endpointID required | string The notification endpoint ID. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Label to add
-| labelID | string |
The label was added to the notification endpoint
-Unexpected error
-| endpointID required | string The notification endpoint ID. - |
| labelID required | string The ID of the label to delete. - |
| Zap-Trace-Span | string Example: trace_id,1,span_id,1,baggage,[object Object] OpenTracing span context - |
Delete has been accepted
-Endpoint or label not found
-Unexpected error
-