Apache Airflow · JSON Structure

Openapi.Yaml Clear Task Instances Structure

ClearTaskInstances schema from Apache Airflow API

Type: object Properties: 14
ApacheDAGData PipelineETLOpen-SourceOrchestrationPythonSchedulingWorkflows

ClearTaskInstances is a JSON Structure definition published by Apache Airflow, describing 14 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

dag_run_id dry_run end_date include_downstream include_future include_parentdag include_past include_subdags include_upstream only_failed only_running reset_dag_runs start_date task_ids

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-airflow/refs/heads/main/json-structure/openapi.yaml-clear-task-instances-structure.json",
  "name": "ClearTaskInstances",
  "description": "ClearTaskInstances schema from Apache Airflow API",
  "type": "object",
  "properties": {
    "dag_run_id": {
      "description": "The DagRun ID for this task instance",
      "nullable": true,
      "type": "string"
    },
    "dry_run": {
      "default": true,
      "description": "If set, don't actually run this operation. The response will contain a list of task instances\nplanned to be cleaned, but not modified in any way.\n",
      "type": "boolean"
    },
    "end_date": {
      "description": "The maximum execution date to clear.",
      "format": "datetime",
      "type": "string"
    },
    "include_downstream": {
      "default": false,
      "description": "If set to true, downstream tasks are also affected.",
      "type": "boolean"
    },
    "include_future": {
      "default": false,
      "description": "If set to True, also tasks from future DAG Runs are affected.",
      "type": "boolean"
    },
    "include_parentdag": {
      "description": "Clear tasks in the parent dag of the subdag.",
      "type": "boolean"
    },
    "include_past": {
      "default": false,
      "description": "If set to True, also tasks from past DAG Runs are affected.",
      "type": "boolean"
    },
    "include_subdags": {
      "description": "Clear tasks in subdags and clear external tasks indicated by ExternalTaskMarker.",
      "type": "boolean"
    },
    "include_upstream": {
      "default": false,
      "description": "If set to true, upstream tasks are also affected.",
      "type": "boolean"
    },
    "only_failed": {
      "default": true,
      "description": "Only clear failed tasks.",
      "type": "boolean"
    },
    "only_running": {
      "default": false,
      "description": "Only clear running tasks.",
      "type": "boolean"
    },
    "reset_dag_runs": {
      "description": "Set state of DAG runs to RUNNING.",
      "type": "boolean"
    },
    "start_date": {
      "description": "The minimum execution date to clear.",
      "format": "datetime",
      "type": "string"
    },
    "task_ids": {
      "description": "A list of task ids to clear.\n\n*New in version 2.1.0*\n",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "type": "array"
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/openapi.yaml-clear-task-instances-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.