action influxdata_get_tasks_id { label: "Retrieve a task" provider: influxdata method: GET path: "/tasks/{taskID}" encoding: json input: { type: "object" properties: { taskID: { type: "string" } } required: ["taskID"] additionalProperties: false } output: { type: "object" required: ["flux", "id", "name", "orgID"] properties: { authorizationID: { type: "string" description: "The ID of the authorization used when this task communicates with the query engine." } createdAt: { type: "string" format: "date-time" } cron: { type: "string" description: "A task repetition schedule in the form '* * * * * *'; parsed from Flux." } description: { type: "string" description: "An optional description of the task." } every: { type: "string" description: "A simple task repetition schedule; parsed from Flux." } flux: { type: "string" description: "The Flux script to run for this task." } id: { type: "string" } labels: { type: "array" items: { type: "object" properties: { id: { type: "string" } name: { type: "string" } orgID: { type: "string" } properties: { type: "object" description: "Key/Value pairs associated with this label. Keys can be removed by sending an update with an empty value." } } } } lastRunError: { type: "string" } lastRunStatus: { type: "string" enum: ["failed", "success", "canceled"] } latestCompleted: { type: "string" format: "date-time" description: "Timestamp of latest scheduled, completed run, RFC3339." } links: { type: "object" properties: { labels: { type: "string" format: "uri" description: "URI of resource." } logs: { type: "object" additionalProperties: true } members: { type: "object" additionalProperties: true } owners: { type: "object" additionalProperties: true } runs: { type: "object" additionalProperties: true } self: { type: "object" additionalProperties: true } } } name: { type: "string" description: "The name of the task." } offset: { type: "string" description: "Duration to delay after the schedule, before executing the task; parsed from flux, if set to zero it will remove this option and use 0 as the default." } org: { type: "string" description: "The name of the organization that owns this Task." } orgID: { type: "string" description: "The ID of the organization that owns this Task." } status: { type: "string" enum: ["active", "inactive"] } type: { type: "string" description: "The type of task, this can be used for filtering tasks on list actions." } updatedAt: { type: "string" format: "date-time" } } } }