# Apache Airflow Task State Store API

**Canonical:** https://apis.io/apis/apache-airflow/apache-airflow-task-state-store-api/  
**Provider:** Apache Airflow — https://apis.io/providers/apache-airflow/  
**Base URL:** http://localhost:8080/api/experimental  
**Documentation:** https://airflow.apache.org/docs/apache-airflow/stable/deprecated-rest-api-ref.html

Apache Airflow Task State Store API is one of 34 APIs that [Apache Airflow](https://apis.io/providers/apache-airflow/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Task State Store. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and a changelog.

The Task State Store API from Apache Airflow — 2 operation(s) for task state store.

## Operations (6)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/state-store` | List Task State Store |
| DELETE | `/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/state-store` | Clear Task State Store |
| GET | `/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/state-store/{key}` | Get Task State Store |
| PUT | `/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/state-store/{key}` | Set Task State Store |
| PATCH | `/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/state-store/{key}` | Patch Task State Store |
| DELETE | `/api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/state-store/{key}` | Delete Task State Store |

## Machine-readable artifacts (5)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/apache-airflow/refs/heads/main/openapi/apache-airflow-task-state-store-api-openapi.yml
- **Documentation** — https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html
- **ErrorCatalog** — https://raw.githubusercontent.com/api-evangelist/apache-airflow/refs/heads/main/errors/apache-airflow-problem-types.yml
- **Authentication** — https://airflow.apache.org/docs/apache-airflow/stable/security/api.html
- **ChangeLog** — https://airflow.apache.org/docs/apache-airflow/stable/release_notes.html

## Other Apache Airflow APIs (12)

- [Apache Airflow Experimental API (Deprecated)](https://apis.io/apis/apache-airflow/apache-airflow-experimental-api/)
- [Apache Airflow Config API](https://apis.io/apis/apache-airflow/apache-airflow-config-api/)
- [Apache Airflow Connection API](https://apis.io/apis/apache-airflow/apache-airflow-connection-api/)
- [Apache Airflow DAG API](https://apis.io/apis/apache-airflow/apache-airflow-dag-api/)
- [Apache Airflow DagWarning API](https://apis.io/apis/apache-airflow/apache-airflow-dagwarning-api/)
- [Apache Airflow Dataset API](https://apis.io/apis/apache-airflow/apache-airflow-dataset-api/)
- [Apache Airflow Monitoring API](https://apis.io/apis/apache-airflow/apache-airflow-monitoring-api/)
- [Apache Airflow Permission API](https://apis.io/apis/apache-airflow/apache-airflow-permission-api/)
- [Apache Airflow Plugin API](https://apis.io/apis/apache-airflow/apache-airflow-plugin-api/)
- [Apache Airflow Pool API](https://apis.io/apis/apache-airflow/apache-airflow-pool-api/)
- [Apache Airflow Provider API](https://apis.io/apis/apache-airflow/apache-airflow-provider-api/)
- [Apache Airflow Role API](https://apis.io/apis/apache-airflow/apache-airflow-role-api/)

## Tags

Task State Store

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/apache-airflow/apache-airflow-task-state-store-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/apache-airflow/.
