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.
{
"$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
}