Apache Airflow · Schema

PatchTaskInstanceBody

Request body for Clear Task Instances endpoint.

Workflow OrchestrationData PipelineOpen SourceApacheDAGSchedulingETLData Engineering

Properties

Name Type Description
new_state object
note object
include_upstream boolean
include_downstream boolean
include_future boolean
include_past boolean
View JSON Schema on GitHub

JSON Schema

airflow-patch-task-instance-body-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/airflow/refs/heads/main/json-schema/airflow-patch-task-instance-body-schema.json",
  "title": "PatchTaskInstanceBody",
  "description": "Request body for Clear Task Instances endpoint.",
  "type": "object",
  "properties": {
    "new_state": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TaskInstanceState"
        },
        {
          "type": "null"
        }
      ]
    },
    "note": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1000
        },
        {
          "type": "null"
        }
      ],
      "title": "Note"
    },
    "include_upstream": {
      "type": "boolean",
      "title": "Include Upstream",
      "default": false
    },
    "include_downstream": {
      "type": "boolean",
      "title": "Include Downstream",
      "default": false
    },
    "include_future": {
      "type": "boolean",
      "title": "Include Future",
      "default": false
    },
    "include_past": {
      "type": "boolean",
      "title": "Include Past",
      "default": false
    }
  },
  "additionalProperties": false
}