get_task_instances_batch
Retrieve batch task instances in Airflow by applying filters, including DAG IDs, task states, execution dates, and durations, to manage and analyze workflow executions efficiently.
Instructions
get_task_instances_batch
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dag_ids | No | ||
dag_run_ids | No | ||
duration_gte | No | ||
duration_lte | No | ||
end_date_gte | No | ||
end_date_lte | No | ||
execution_date_gte | No | ||
execution_date_lte | No | ||
executor | No | ||
page_limit | No | ||
page_offset | No | ||
pool | No | ||
queue | No | ||
start_date_gte | No | ||
start_date_lte | No | ||
state | No | ||
task_ids | No |
Input Schema (JSON Schema)
{
"properties": {
"dag_ids": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Dag Ids"
},
"dag_run_ids": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Dag Run Ids"
},
"duration_gte": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Duration Gte"
},
"duration_lte": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Duration Lte"
},
"end_date_gte": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End Date Gte"
},
"end_date_lte": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End Date Lte"
},
"execution_date_gte": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Execution Date Gte"
},
"execution_date_lte": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Execution Date Lte"
},
"executor": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Executor"
},
"page_limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Page Limit"
},
"page_offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Page Offset"
},
"pool": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Pool"
},
"queue": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Queue"
},
"start_date_gte": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Start Date Gte"
},
"start_date_lte": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Start Date Lte"
},
"state": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "State"
},
"task_ids": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Task Ids"
}
},
"title": "get_task_instances_batch_input",
"type": "object"
}