Apache Airflow · JSON Structure

Airflow Task Instances Batch Body Structure

Task Instance body for get batch.

Type: object Properties: 30
Workflow OrchestrationData PipelineOpen SourceApacheDAGSchedulingETLData Engineering

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

Properties

dag_ids dag_run_ids task_ids state run_after_gte run_after_gt run_after_lte run_after_lt logical_date_gte logical_date_gt logical_date_lte logical_date_lt start_date_gte start_date_gt start_date_lte start_date_lt end_date_gte end_date_gt end_date_lte end_date_lt duration_gte duration_gt duration_lte duration_lt pool queue executor page_offset page_limit order_by

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/airflow/refs/heads/main/json-structure/airflow-task-instances-batch-body-structure.json",
  "name": "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": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "Run After Gte"
    },
    "run_after_gt": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "Run After Gt"
    },
    "run_after_lte": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "Run After Lte"
    },
    "run_after_lt": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "Run After Lt"
    },
    "logical_date_gte": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logical Date Gte"
    },
    "logical_date_gt": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logical Date Gt"
    },
    "logical_date_lte": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logical Date Lte"
    },
    "logical_date_lt": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logical Date Lt"
    },
    "start_date_gte": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Date Gte"
    },
    "start_date_gt": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Date Gt"
    },
    "start_date_lte": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Date Lte"
    },
    "start_date_lt": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Date Lt"
    },
    "end_date_gte": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Date Gte"
    },
    "end_date_gt": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Date Gt"
    },
    "end_date_lte": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Date Lte"
    },
    "end_date_lt": {
      "anyOf": [
        {
          "type": "datetime"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Date Lt"
    },
    "duration_gte": {
      "anyOf": [
        {
          "type": "double"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration Gte"
    },
    "duration_gt": {
      "anyOf": [
        {
          "type": "double"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration Gt"
    },
    "duration_lte": {
      "anyOf": [
        {
          "type": "double"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration Lte"
    },
    "duration_lt": {
      "anyOf": [
        {
          "type": "double"
        },
        {
          "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": "int32",
      "minimum": 0.0,
      "title": "Page Offset",
      "default": 0
    },
    "page_limit": {
      "type": "int32",
      "minimum": 0.0,
      "title": "Page Limit",
      "default": 100
    },
    "order_by": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Order By"
    }
  },
  "additionalProperties": false
}