Apache Airflow · Schema

TaskInstancesBatchBody

Task Instance body for get batch.

Workflow OrchestrationData PipelineOpen SourceApacheDAGSchedulingETLData Engineering

Properties

Name Type Description
dag_ids object
dag_run_ids object
task_ids object
state object
run_after_gte object
run_after_gt object
run_after_lte object
run_after_lt object
logical_date_gte object
logical_date_gt object
logical_date_lte object
logical_date_lt object
start_date_gte object
start_date_gt object
start_date_lte object
start_date_lt object
end_date_gte object
end_date_gt object
end_date_lte object
end_date_lt object
duration_gte object
duration_gt object
duration_lte object
duration_lt object
pool object
queue object
executor object
page_offset integer
page_limit integer
order_by object
View JSON Schema on GitHub

JSON Schema

airflow-task-instances-batch-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-task-instances-batch-body-schema.json",
  "title": "TaskInstancesBatchBody",
  "description": "Task Instance body for get batch.",
  "type": "object",
  "properties": {
    "dag_ids": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Dag Ids"
    },
    "dag_run_ids": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Dag Run Ids"
    },
    "task_ids": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Task Ids"
    },
    "state": {
      "anyOf": [
        {
          "items": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TaskInstanceState"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "State"
    },
    "run_after_gte": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Run After Gte"
    },
    "run_after_gt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Run After Gt"
    },
    "run_after_lte": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Run After Lte"
    },
    "run_after_lt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Run After Lt"
    },
    "logical_date_gte": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logical Date Gte"
    },
    "logical_date_gt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logical Date Gt"
    },
    "logical_date_lte": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logical Date Lte"
    },
    "logical_date_lt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logical Date Lt"
    },
    "start_date_gte": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Date Gte"
    },
    "start_date_gt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Date Gt"
    },
    "start_date_lte": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Date Lte"
    },
    "start_date_lt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Date Lt"
    },
    "end_date_gte": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Date Gte"
    },
    "end_date_gt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Date Gt"
    },
    "end_date_lte": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Date Lte"
    },
    "end_date_lt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Date Lt"
    },
    "duration_gte": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration Gte"
    },
    "duration_gt": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration Gt"
    },
    "duration_lte": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration Lte"
    },
    "duration_lt": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration Lt"
    },
    "pool": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pool"
    },
    "queue": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Queue"
    },
    "executor": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Executor"
    },
    "page_offset": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Page Offset",
      "default": 0
    },
    "page_limit": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Page Limit",
      "default": 100
    },
    "order_by": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Order By"
    }
  },
  "additionalProperties": false
}