Apache Airflow · Schema
ClearTaskInstancesBody
Request body for Clear Task Instances endpoint.
Workflow OrchestrationData PipelineOpen-SourceApacheDAGSchedulingETLData Engineering
Properties
| Name | Type | Description |
|---|---|---|
| dry_run | boolean | |
| start_date | object | |
| end_date | object | |
| only_failed | boolean | |
| only_running | boolean | |
| reset_dag_runs | boolean | |
| task_ids | object | A list of `task_id` or [`task_id`, `map_index`]. If only the `task_id` is provided for a mapped task, all of its map indices will be targeted. |
| dag_run_id | object | |
| include_upstream | boolean | |
| include_downstream | boolean | |
| include_future | boolean | |
| include_past | boolean | |
| run_on_latest_version | boolean | (Experimental) Run on the latest bundle version of the dag after clearing the task instances. |
| prevent_running_task | boolean | |
| note | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/airflow/refs/heads/main/json-schema/airflow-clear-task-instances-body-schema.json",
"title": "ClearTaskInstancesBody",
"description": "Request body for Clear Task Instances endpoint.",
"type": "object",
"properties": {
"dry_run": {
"type": "boolean",
"title": "Dry Run",
"default": true
},
"start_date": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Start Date"
},
"end_date": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "End Date"
},
"only_failed": {
"type": "boolean",
"title": "Only Failed",
"default": true
},
"only_running": {
"type": "boolean",
"title": "Only Running",
"default": false
},
"reset_dag_runs": {
"type": "boolean",
"title": "Reset Dag Runs",
"default": true
},
"task_ids": {
"anyOf": [
{
"items": {
"anyOf": [
{
"type": "string"
},
{
"prefixItems": [
{
"type": "string"
},
{
"type": "integer"
}
],
"type": "array",
"maxItems": 2,
"minItems": 2
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Task Ids",
"description": "A list of `task_id` or [`task_id`, `map_index`]. If only the `task_id` is provided for a mapped task, all of its map indices will be targeted."
},
"dag_run_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Dag Run Id"
},
"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
},
"run_on_latest_version": {
"type": "boolean",
"title": "Run On Latest Version",
"description": "(Experimental) Run on the latest bundle version of the dag after clearing the task instances.",
"default": false
},
"prevent_running_task": {
"type": "boolean",
"title": "Prevent Running Task",
"default": false
},
"note": {
"anyOf": [
{
"type": "string",
"maxLength": 1000
},
{
"type": "null"
}
],
"title": "Note"
}
},
"additionalProperties": false
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema 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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/airflow-clear-task-instances-body"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.