Apache Airflow · Schema

TaskInstanceResponse

TaskInstance serializer for responses.

Workflow OrchestrationData PipelineOpen-SourceApacheDAGSchedulingETLData Engineering

Properties

Name Type Description
id string
task_id string
dag_id string
dag_run_id string
map_index integer
logical_date object
run_after string
start_date object
end_date object
duration object
state object
try_number integer
max_tries integer
task_display_name string
dag_display_name string
hostname object
unixname object
pool string
pool_slots integer
queue object
priority_weight object
operator object
operator_name object
queued_when object
scheduled_when object
pid object
executor object
executor_config string
note object
rendered_map_index object
rendered_fields object
trigger object
triggerer_job object
dag_version object
View JSON Schema on GitHub

JSON Schema

airflow-task-instance-response-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-instance-response-schema.json",
  "title": "TaskInstanceResponse",
  "description": "TaskInstance serializer for responses.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "task_id": {
      "type": "string",
      "title": "Task Id"
    },
    "dag_id": {
      "type": "string",
      "title": "Dag Id"
    },
    "dag_run_id": {
      "type": "string",
      "title": "Dag Run Id"
    },
    "map_index": {
      "type": "integer",
      "title": "Map Index"
    },
    "logical_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Logical Date"
    },
    "run_after": {
      "type": "string",
      "format": "date-time",
      "title": "Run After"
    },
    "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"
    },
    "duration": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration"
    },
    "state": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TaskInstanceState"
        },
        {
          "type": "null"
        }
      ]
    },
    "try_number": {
      "type": "integer",
      "title": "Try Number"
    },
    "max_tries": {
      "type": "integer",
      "title": "Max Tries"
    },
    "task_display_name": {
      "type": "string",
      "title": "Task Display Name"
    },
    "dag_display_name": {
      "type": "string",
      "title": "Dag Display Name"
    },
    "hostname": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Hostname"
    },
    "unixname": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Unixname"
    },
    "pool": {
      "type": "string",
      "title": "Pool"
    },
    "pool_slots": {
      "type": "integer",
      "title": "Pool Slots"
    },
    "queue": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Queue"
    },
    "priority_weight": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Priority Weight"
    },
    "operator": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Operator"
    },
    "operator_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Operator Name"
    },
    "queued_when": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Queued When"
    },
    "scheduled_when": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scheduled When"
    },
    "pid": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pid"
    },
    "executor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Executor"
    },
    "executor_config": {
      "type": "string",
      "title": "Executor Config"
    },
    "note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Note"
    },
    "rendered_map_index": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Rendered Map Index"
    },
    "rendered_fields": {
      "additionalProperties": true,
      "type": "object",
      "title": "Rendered Fields"
    },
    "trigger": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TriggerResponse"
        },
        {
          "type": "null"
        }
      ]
    },
    "triggerer_job": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/JobResponse"
        },
        {
          "type": "null"
        }
      ]
    },
    "dag_version": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/DagVersionResponse"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "id",
    "task_id",
    "dag_id",
    "dag_run_id",
    "map_index",
    "logical_date",
    "run_after",
    "start_date",
    "end_date",
    "duration",
    "state",
    "try_number",
    "max_tries",
    "task_display_name",
    "dag_display_name",
    "hostname",
    "unixname",
    "pool",
    "pool_slots",
    "queue",
    "priority_weight",
    "operator",
    "operator_name",
    "queued_when",
    "scheduled_when",
    "pid",
    "executor",
    "executor_config",
    "note",
    "rendered_map_index",
    "trigger",
    "triggerer_job",
    "dag_version"
  ]
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/airflow-task-instance-response"
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.