OptionalauthorizationIDOptional ReadonlycreatedOptionalcronA Cron expression that defines the schedule on which the task runs. InfluxDB uses the system time when evaluating Cron expressions.
OptionaldescriptionA description of the task.
OptionaleveryThe 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.
ReadonlyidOptionallabelsOptional ReadonlylastOptional ReadonlylastOptional ReadonlylatestA timestamp (RFC3339 date/time format) of the latest scheduled and completed run.
Optional ReadonlylinksThe name of the task.
OptionaloffsetA duration to delay execution of the task after the scheduled time has elapsed. 0 removes the offset.
OptionalorgAn organization name. Specifies the organization that owns the task.
An organization ID. Specifies the organization that owns the task.
OptionalownerIDA 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.
OptionalstatusOptional Readonlyupdated
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/authorizationsendpoint to list authorizations.