Optional
authorizationIDOptional
Readonly
createdOptional
cronA Cron expression that defines the schedule on which the task runs. InfluxDB uses the system time when evaluating Cron expressions.
Optional
descriptionA description of the task.
Optional
everyThe interval (duration literal) at which the task runs. every
also determines when the task first runs, depending on the specified time.
The Flux script that the task executes.
Readonly
idOptional
labelsOptional
Readonly
lastOptional
Readonly
lastOptional
Readonly
latestA timestamp (RFC3339 date/time format) of the latest scheduled and completed run.
Optional
Readonly
linksThe name of the task.
Optional
offsetA duration to delay execution of the task after the scheduled time has elapsed. 0
removes the offset.
Optional
orgAn organization name. Specifies the organization that owns the task.
An organization ID. Specifies the organization that owns the task.
Optional
ownerIDA user ID. Specifies the owner of the task.
To find a user ID, you can use the
GET /api/v2/users
endpoint to
list users.
Optional
statusOptional
Readonly
updated
An authorization ID. Specifies the authorization used when the task communicates with the query engine.
To find an authorization ID, you can use the
GET /api/v2/authorizations
endpoint to list authorizations.