Apache Airflow · Schema

TaskInstance

TaskInstance schema from Apache Airflow API

ApacheDAGData PipelineETLOpen-SourceOrchestrationPythonSchedulingWorkflows

Properties

Name Type Description
dag_id string
dag_run_id string The DagRun ID for this task instance *New in version 2.3.0*
duration number
end_date string
execution_date string
executor_config string
hostname string
map_index integer
max_tries integer
note string Contains manually entered notes by the user about the TaskInstance. *New in version 2.5.0*
operator string *Changed in version 2.1.1*: Field becomes nullable.
pid integer
pool string
pool_slots integer
priority_weight integer
queue string
queued_when string
rendered_fields object JSON object describing rendered fields. *New in version 2.3.0*
sla_miss object
start_date string
state object
task_id string
trigger object
triggerer_job object
try_number integer
unixname string
View JSON Schema on GitHub

JSON Schema

openapi.yaml-task-instance-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-airflow/refs/heads/main/json-schema/openapi.yaml-task-instance-schema.json",
  "title": "TaskInstance",
  "description": "TaskInstance schema from Apache Airflow API",
  "type": "object",
  "properties": {
    "dag_id": {
      "type": "string"
    },
    "dag_run_id": {
      "description": "The DagRun ID for this task instance\n\n*New in version 2.3.0*\n",
      "type": "string"
    },
    "duration": {
      "nullable": true,
      "type": "number"
    },
    "end_date": {
      "format": "datetime",
      "nullable": true,
      "type": "string"
    },
    "execution_date": {
      "format": "datetime",
      "type": "string"
    },
    "executor_config": {
      "type": "string"
    },
    "hostname": {
      "type": "string"
    },
    "map_index": {
      "type": "integer"
    },
    "max_tries": {
      "type": "integer"
    },
    "note": {
      "description": "Contains manually entered notes by the user about the TaskInstance.\n\n*New in version 2.5.0*\n",
      "nullable": true,
      "type": "string"
    },
    "operator": {
      "description": "*Changed in version 2.1.1*: Field becomes nullable.\n",
      "nullable": true,
      "type": "string"
    },
    "pid": {
      "nullable": true,
      "type": "integer"
    },
    "pool": {
      "type": "string"
    },
    "pool_slots": {
      "type": "integer"
    },
    "priority_weight": {
      "nullable": true,
      "type": "integer"
    },
    "queue": {
      "nullable": true,
      "type": "string"
    },
    "queued_when": {
      "nullable": true,
      "type": "string"
    },
    "rendered_fields": {
      "description": "JSON object describing rendered fields.\n\n*New in version 2.3.0*\n",
      "type": "object"
    },
    "sla_miss": {
      "$ref": "#/components/schemas/SLAMiss",
      "nullable": true
    },
    "start_date": {
      "format": "datetime",
      "nullable": true,
      "type": "string"
    },
    "state": {
      "$ref": "#/components/schemas/TaskState",
      "nullable": true
    },
    "task_id": {
      "type": "string"
    },
    "trigger": {
      "$ref": "#/components/schemas/Trigger",
      "nullable": true
    },
    "triggerer_job": {
      "$ref": "#/components/schemas/Job",
      "nullable": true
    },
    "try_number": {
      "type": "integer"
    },
    "unixname": {
      "type": "string"
    }
  }
}

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/openapi.yaml-task-instance"
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.