Apache Airflow · JSON Structure

Openapi.Yaml Task Instance Structure

TaskInstance schema from Apache Airflow API

Type: object Properties: 26
ApacheDAGData PipelineETLOpen-SourceOrchestrationPythonSchedulingWorkflows

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

Properties

dag_id dag_run_id duration end_date execution_date executor_config hostname map_index max_tries note operator pid pool pool_slots priority_weight queue queued_when rendered_fields sla_miss start_date state task_id trigger triggerer_job try_number unixname

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/apache-airflow/refs/heads/main/json-structure/openapi.yaml-task-instance-structure.json",
  "name": "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 Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/openapi.yaml-task-instance-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.