DagForge Docs

MCP Server Reference

Endpoint: POST /mcp  ·  JSON‐RPC over Streamable HTTP
Authentication: Authorization: Bearer <token> — the same identity as the API docs (POST /api/v2/auth/token).
Tools: 175  ·  Prompts: 3
Connect any MCP client (Claude Code, Cursor, …) — add to your mcpServers config:
{
  "mcpServers": {
    "dagforge": {
      "url": "/mcp",
      "headers": {
        "Authorization": "Bearer <your-token>"
      }
    }
  }
}
Interactive explorer: npx @modelcontextprotocol/inspector — point it at /mcp with the same auth.

API Platform33 tools

create_api_clientwrite

Create a new API client. Generates an API key (if authMethod is api_key). Returns the plaintext key once — it will not be shown again. Validates that all collectionIds exist.

ParameterRequiredType / defaultDescription
namerequiredstring
authMethodrequiredstring · api_key, oauth2_cc, jwt
authConfigoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]
policyIdoptional[{'type': 'string'}, {'type': 'null'}]
collectionIdsrequiredarray

create_api_collectionwrite

Create a new API collection.

ParameterRequiredType / defaultDescription
namerequiredstring
urlPathoptional[{'type': 'string', 'maxLength': 255, 'minLength': 1, 'pattern': '^/[a-zA-Z0-9_/-]+$'}, {'type': 'null'}]
descriptionoptional[{'type': 'string', 'maxLength': 1024}, {'type': 'null'}]
versionoptional[{'type': 'string', 'maxLength': 50, 'minLength': 1}, {'type': 'null'}]
publishedoptionalboolean · = True
allowUnauthenticatedoptionalboolean · = False
collectionTypeoptionalstring · rest, soap, graphql, mcp · = rest
corsConfigoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]
docsConfigoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]

create_api_endpointwrite

Create a new API endpoint. Validates that the referenced DAG exists before saving.

ParameterRequiredType / defaultDescription
collection_idrequiredstring
pathoptional[{'type': 'string', 'maxLength': 255, 'minLength': 1, 'pattern': '^/(?:[a-zA-Z0-9_{}/*.-]+)$'}, {'type': 'null'}]
methodrequiredstring · GET, POST, PUT, PATCH, DELETE
dagIdrequiredstring
modeoptionalstring · sync, async · = sync
enabledoptionalboolean · = True
timeoutoptional[{'type': 'integer', 'maximum': 86400.0, 'minimum': 1.0}, {'type': 'null'}]
requestSchemaoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]
responseSchemaoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]
cacheConfigoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]
responseTaskIdoptional[{'type': 'string'}, {'type': 'null'}]
nameoptional[{'type': 'string', 'maxLength': 255}, {'type': 'null'}]
descriptionoptional[{'type': 'string', 'maxLength': 1024}, {'type': 'null'}]

create_api_policywrite

Create a new API policy. Accepts both legacy fields (rateLimitPerMin, quotaPerDay) and the new flexible interval fields (rateLimitCount, rateLimitInterval, ...). Legacy fields are mapped to the new columns for backward compatibility.

ParameterRequiredType / defaultDescription
namerequiredstring
rateLimitCountoptional[{'type': 'integer', 'minimum': 1.0}, {'type': 'null'}]
rateLimitIntervaloptional[{'type': 'string', 'pattern': '^\\d+[smhdwM]$'}, {'type': 'null'}]
quotaCountoptional[{'type': 'integer', 'minimum': 1.0}, {'type': 'null'}]
quotaIntervaloptional[{'type': 'string', 'pattern': '^\\d+[smhdwM]$'}, {'type': 'null'}]
ipAllowListoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
ipDenyListoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]

delete_api_clientwrite

Delete an API client.

ParameterRequiredType / defaultDescription
client_idrequiredstring

delete_api_collectionwrite

Delete an API collection and its endpoints (CASCADE).

ParameterRequiredType / defaultDescription
collection_idrequiredstring

delete_api_endpointwrite

Delete an API endpoint.

ParameterRequiredType / defaultDescription
endpoint_idrequiredstring

delete_api_policywrite

Delete an API policy. Blocked by FK if any client still references this policy.

ParameterRequiredType / defaultDescription
policy_idrequiredstring

disable_api_endpointwrite

Disable an API endpoint. Gateway returns 410 for disabled endpoints.

ParameterRequiredType / defaultDescription
endpoint_idrequiredstring

download_api_collection_docswrite

Download the generated consumer-facing documentation (docs.md) for a collection.

ParameterRequiredType / defaultDescription
collection_idrequiredstring

enable_api_endpointwrite

Enable an API endpoint.

ParameterRequiredType / defaultDescription
endpoint_idrequiredstring

generate_client_keypairwrite

Generate an RSA keypair for a JWT client. Returns both the public key (to paste into authConfig.public_key) and the private key (shown once — the client must save it). The platform only ever stores the public key.

No parameters.

get_api_clientread

Get a single API client by ID. Secrets in authConfig are masked.

ParameterRequiredType / defaultDescription
client_idrequiredstring

get_api_collectionread

Get a single API collection by ID.

ParameterRequiredType / defaultDescription
collection_idrequiredstring

get_api_endpointread

Get a single API endpoint by ID.

ParameterRequiredType / defaultDescription
endpoint_idrequiredstring

get_api_platform_settingsread

Get API Platform settings.

No parameters.

get_api_platform_settings_healthread

Health check for the API Platform settings endpoint.

No parameters.

get_api_policyread

Get a single API policy by ID.

ParameterRequiredType / defaultDescription
policy_idrequiredstring

get_dashboard_breakdownread

Return requests by HTTP status bucket over the selected window. Unlike /metrics (which returns all-time counter totals), this uses increase(...[period]) so the status split reflects the chosen period — the same window the summary and charts are scoped to. errors in the summary only counts 5xx; this endpoint exposes the 4xx bucket too so the dashboard can render the full split.

ParameterRequiredType / defaultDescription
periodoptionalstring · = 24h

get_dashboard_metricsread

Serve gateway metrics for the dashboard charts.

No parameters.

get_dashboard_summaryread

Condensed gateway health for the dashboard header. period scopes the concurrency average/peak (Prometheus range duration). Response time percentiles come from the statsd timing summary; the p95 card falls back to the highest emitted quantile when the exporter doesn't emit 0.95 (statsd-exporter defaults to 0.5/0.9/0.99).

ParameterRequiredType / defaultDescription
periodoptionalstring · = 24h

get_dashboard_timeseriesread

Time series for the API Activity and Peak concurrent requests charts. period is the Prometheus range (e.g. 24h), step the bucket size (e.g. 5m). Returns aligned timestamps plus per-bucket request rates and concurrency gauges.

ParameterRequiredType / defaultDescription
periodoptionalstring · = 24h
stepoptionalstring · = 5m

get_gateway_logsread

Read and filter gateway access logs from Loki via LogQL. Entries are enriched with collection and client metadata so the UI can display names instead of raw ids. Returns a paginated list sorted by timestamp descending.

ParameterRequiredType / defaultDescription
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
sortoptionalstring · desc, asc · = desc
status_codeoptional[{'items': {'type': 'integer'}, 'type': 'array'}, {'type': 'null'}]
methodoptional[{'type': 'string'}, {'type': 'null'}]
pathoptional[{'type': 'string'}, {'type': 'null'}]
correlation_idoptional[{'type': 'string'}, {'type': 'null'}]
start_dateoptional[{'type': 'string'}, {'type': 'null'}]
end_dateoptional[{'type': 'string'}, {'type': 'null'}]
collection_idoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
collection_typeoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
client_idoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]

list_api_clientsread

List all API clients. Secrets in authConfig are masked. Full hashedKey is never returned; only the prefix suffix (sk_...) is shown for identification.

ParameterRequiredType / defaultDescription
name_patternoptional[{'type': 'string'}, {'type': 'null'}]
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['-created_at']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `name, authMethod, created_at, updated_at`

list_api_collectionsread

List all API collections.

ParameterRequiredType / defaultDescription
name_patternoptional[{'type': 'string'}, {'type': 'null'}]
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['name']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `name, collectionType, created_at, updated_at`

list_api_endpointsread

List API endpoints, optionally filtered by collection and path.

ParameterRequiredType / defaultDescription
collection_idoptional[{'type': 'string'}, {'type': 'null'}]
path_patternoptional[{'type': 'string'}, {'type': 'null'}]
limitoptionalinteger · = 50
offsetoptionalinteger · = 0

list_api_policiesread

List all API policies.

ParameterRequiredType / defaultDescription
name_patternoptional[{'type': 'string'}, {'type': 'null'}]
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['-created_at']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `name, rateLimitCount, quotaCount, created_at, updated_at`

test_api_endpointwrite

Execute one request against the running gateway and return the result. Forwards the request to the running gateway process (port 8081) so the full pipeline — route matching, caching, DAG trigger, poll, XCom — is exercised without creating an in-process gateway or recursing into the same core API server.

ParameterRequiredType / defaultDescription
endpoint_idrequiredstring
methodoptional[{'type': 'string'}, {'type': 'null'}]
pathoptional[{'type': 'string'}, {'type': 'null'}]
query_paramsoptionalobject
headersoptionalobject
bodyoptionalany

update_api_clientwrite

Update an existing API client (PUT — only explicitly-sent fields, finding 5.2). Does not regenerate the key — use /regenerate-key for that. Does not change authMethod (immutable after creation). Fields omitted from the request body keep their current values.

ParameterRequiredType / defaultDescription
client_idrequiredstring
nameoptional[{'type': 'string'}, {'type': 'null'}]
authConfigoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]
policyIdoptional[{'type': 'string'}, {'type': 'null'}]
collectionIdsoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]

update_api_collectionwrite

Update an existing API collection (PUT — only explicitly-sent fields, finding 5.2).

ParameterRequiredType / defaultDescription
collection_idrequiredstring
nameoptional[{'type': 'string', 'maxLength': 255, 'minLength': 1}, {'type': 'null'}]
urlPathoptional[{'type': 'string', 'maxLength': 255, 'minLength': 1, 'pattern': '^/[a-zA-Z0-9_/-]+$'}, {'type': 'null'}]
descriptionoptional[{'type': 'string', 'maxLength': 1024}, {'type': 'null'}]
versionoptional[{'type': 'string', 'maxLength': 50, 'minLength': 1}, {'type': 'null'}]
publishedoptional[{'type': 'boolean'}, {'type': 'null'}]
allowUnauthenticatedoptional[{'type': 'boolean'}, {'type': 'null'}]
collectionTypeoptional[{'type': 'string', 'enum': ['rest', 'soap', 'graphql', 'mcp']}, {'type': 'null'}]
corsConfigoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]
docsConfigoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]

update_api_endpointwrite

Update an existing API endpoint (PUT — only explicitly-sent fields, finding 5.2). Fields omitted from the request body keep their current values. Fields explicitly set to null are cleared.

ParameterRequiredType / defaultDescription
endpoint_idrequiredstring
pathoptional[{'type': 'string', 'maxLength': 255, 'minLength': 1, 'pattern': '^/(?:[a-zA-Z0-9_{}/*.-]+)$'}, {'type': 'null'}]
methodoptional[{'type': 'string', 'enum': ['GET', 'POST', 'PUT', 'PATCH', 'DELETE']}, {'type': 'null'}]
dagIdoptional[{'type': 'string', 'maxLength': 255, 'minLength': 1}, {'type': 'null'}]
modeoptional[{'type': 'string', 'enum': ['sync', 'async']}, {'type': 'null'}]
enabledoptional[{'type': 'boolean'}, {'type': 'null'}]
timeoutoptional[{'type': 'integer', 'maximum': 86400.0, 'minimum': 1.0}, {'type': 'null'}]
requestSchemaoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]
responseSchemaoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]
cacheConfigoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]
responseTaskIdoptional[{'type': 'string'}, {'type': 'null'}]
nameoptional[{'type': 'string', 'maxLength': 255}, {'type': 'null'}]
descriptionoptional[{'type': 'string', 'maxLength': 1024}, {'type': 'null'}]

update_api_platform_settingswrite

Update API Platform settings.

ParameterRequiredType / defaultDescription
pathPrefixoptional[{'type': 'string', 'maxLength': 255, 'minLength': 1, 'pattern': '^[a-z0-9]([a-z0-9_-]*[a-z0-9])?$'}, {'type': 'null'}]
concurrencyLimitoptional[{'type': 'integer', 'maximum': 200.0, 'minimum': 1.0}, {'type': 'null'}]
queueSizeoptional[{'type': 'integer', 'maximum': 100.0, 'minimum': 0.0}, {'type': 'null'}]
queueBehavioroptional[{'type': 'string', 'enum': ['reject', 'queue']}, {'type': 'null'}]

update_api_policywrite

Update an existing API policy (PUT — only explicitly-sent fields, finding 5.2). Fields omitted from the request body keep their current values. Fields explicitly set to null are cleared. Accepts legacy fields (rateLimitPerMin, quotaPerDay) for backward compat.

ParameterRequiredType / defaultDescription
policy_idrequiredstring
nameoptional[{'type': 'string', 'maxLength': 255, 'minLength': 1}, {'type': 'null'}]
rateLimitCountoptional[{'type': 'integer', 'minimum': 1.0}, {'type': 'null'}]
rateLimitIntervaloptional[{'type': 'string', 'pattern': '^\\d+[smhdwM]$'}, {'type': 'null'}]
quotaCountoptional[{'type': 'integer', 'minimum': 1.0}, {'type': 'null'}]
quotaIntervaloptional[{'type': 'string', 'pattern': '^\\d+[smhdwM]$'}, {'type': 'null'}]
ipAllowListoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
ipDenyListoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]

Asset4 tools

get_assetread

Get an asset.

ParameterRequiredType / defaultDescription
asset_idrequiredinteger

get_asset_eventsread

Get asset events.

ParameterRequiredType / defaultDescription
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['timestamp']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `source_task_id, source_dag_id, source_run_id, source_map_index, timestamp`
asset_idoptional[{'type': 'integer'}, {'type': 'null'}]
source_dag_idoptional[{'type': 'string'}, {'type': 'null'}]
source_task_idoptional[{'type': 'string'}, {'type': 'null'}]
source_run_idoptional[{'type': 'string'}, {'type': 'null'}]
source_map_indexoptional[{'type': 'integer'}, {'type': 'null'}]
name_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent name_prefix_pattern parameter when possible.
name_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
timestamp_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
timestamp_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
timestamp_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
timestamp_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]

get_assetsread

Get assets.

ParameterRequiredType / defaultDescription
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
name_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent name_prefix_pattern parameter when possible.
name_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
uri_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent uri_prefix_pattern parameter when possible.
uri_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
dag_idsoptionalarray
only_activeoptionalboolean · = True
order_byoptionalarray · = ['id']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, name, uri, created_at, updated_at`

materialize_assetwrite

Materialize an asset by triggering a Dag run that produces it.

ParameterRequiredType / defaultDescription
asset_idrequiredinteger
bodyoptional[{'$ref': '#/$defs/MaterializeAssetBody'}, {'type': 'null'}]

Asset State Store5 tools

clear_asset_state_storewrite

Delete all state store keys for an asset.

ParameterRequiredType / defaultDescription
asset_idrequiredinteger

delete_asset_state_storewrite

Delete a single asset state store key. No-op if the key does not exist.

ParameterRequiredType / defaultDescription
keyrequiredstring
asset_idrequiredinteger

get_asset_state_storeread

Get a single asset state store entry.

ParameterRequiredType / defaultDescription
keyrequiredstring
asset_idrequiredinteger

list_asset_state_storeread

List all state store entries for an asset.

ParameterRequiredType / defaultDescription
asset_idrequiredinteger
limitoptionalinteger · = 50
offsetoptionalinteger · = 0

set_asset_state_storewrite

Set an asset state store value. Creates or overwrites the key.

ParameterRequiredType / defaultDescription
keyrequiredstring
asset_idrequiredinteger
valuerequiredany

Backfill7 tools

cancel_backfillwrite

Cancel Backfill

ParameterRequiredType / defaultDescription
backfill_idrequiredinteger

create_backfillwrite

Create Backfill

ParameterRequiredType / defaultDescription
dag_idrequiredstring
from_daterequiredstring
to_daterequiredstring
run_backwardsoptionalboolean · = False
dag_run_confoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]
reprocess_behavioroptionalany · = none
max_active_runsoptionalinteger · = 10
run_on_latest_versionoptional[{'type': 'boolean'}, {'type': 'null'}]Run on the latest bundle version of the Dag for each backfilled run. If not specified, falls back to the DAG-level rerun_with_latest_version parameter, then the [core] rerun_with_latest_version config option, and finally True (the historical default for backfills).

create_backfill_dry_runwrite

Create Backfill Dry Run

ParameterRequiredType / defaultDescription
dag_idrequiredstring
from_daterequiredstring
to_daterequiredstring
run_backwardsoptionalboolean · = False
dag_run_confoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]
reprocess_behavioroptionalany · = none
max_active_runsoptionalinteger · = 10
run_on_latest_versionoptional[{'type': 'boolean'}, {'type': 'null'}]Run on the latest bundle version of the Dag for each backfilled run. If not specified, falls back to the DAG-level rerun_with_latest_version parameter, then the [core] rerun_with_latest_version config option, and finally True (the historical default for backfills).

get_backfillread

Get Backfill

ParameterRequiredType / defaultDescription
backfill_idrequiredinteger

list_backfillsread

List Backfills

ParameterRequiredType / defaultDescription
dag_idrequiredstring
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['id']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id`

pause_backfillwrite

Pause Backfill

ParameterRequiredType / defaultDescription
backfill_idrequiredinteger

unpause_backfillwrite

Unpause Backfill

ParameterRequiredType / defaultDescription
backfill_idrequiredinteger

Connection5 tools

get_connectionread

Get a connection entry.

ParameterRequiredType / defaultDescription
connection_idrequiredstring

get_connectionsread

Get all connection entries.

ParameterRequiredType / defaultDescription
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['id']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `conn_id, conn_type, description, host, port, id, team_name, connection_id`
connection_id_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent connection_id_prefix_pattern parameter when possible.
connection_id_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.

patch_connectionwrite

Update a connection entry.

ParameterRequiredType / defaultDescription
connection_id__pathrequiredstring(Path parameter)
update_maskoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
connection_idrequiredstring
conn_typerequiredstring
descriptionoptional[{'type': 'string'}, {'type': 'null'}]
hostoptional[{'type': 'string'}, {'type': 'null'}]
loginoptional[{'type': 'string'}, {'type': 'null'}]
schemaoptional[{'type': 'string'}, {'type': 'null'}]
portoptional[{'type': 'integer'}, {'type': 'null'}]
passwordoptional[{'type': 'string'}, {'type': 'null'}]
extraoptional[{'type': 'string'}, {'type': 'null'}]
team_nameoptional[{'type': 'string', 'maxLength': 50}, {'type': 'null'}]

post_connectionwrite

Create connection entry.

ParameterRequiredType / defaultDescription
connection_idrequiredstring
conn_typerequiredstring
descriptionoptional[{'type': 'string'}, {'type': 'null'}]
hostoptional[{'type': 'string'}, {'type': 'null'}]
loginoptional[{'type': 'string'}, {'type': 'null'}]
schemaoptional[{'type': 'string'}, {'type': 'null'}]
portoptional[{'type': 'integer'}, {'type': 'null'}]
passwordoptional[{'type': 'string'}, {'type': 'null'}]
extraoptional[{'type': 'string'}, {'type': 'null'}]
team_nameoptional[{'type': 'string', 'maxLength': 50}, {'type': 'null'}]

test_connectionwrite

Test an API connection. This method first creates an in-memory transient conn_id & exports that to an env var, as some hook classes tries to find out the `conn` from their __init__ method & errors out if not found. It also deletes the conn id env connection after the test.

ParameterRequiredType / defaultDescription
connection_idrequiredstring
conn_typerequiredstring
descriptionoptional[{'type': 'string'}, {'type': 'null'}]
hostoptional[{'type': 'string'}, {'type': 'null'}]
loginoptional[{'type': 'string'}, {'type': 'null'}]
schemaoptional[{'type': 'string'}, {'type': 'null'}]
portoptional[{'type': 'integer'}, {'type': 'null'}]
passwordoptional[{'type': 'string'}, {'type': 'null'}]
extraoptional[{'type': 'string'}, {'type': 'null'}]
team_nameoptional[{'type': 'string', 'maxLength': 50}, {'type': 'null'}]

DAG6 tools

get_dagread

Get basic information about a Dag.

ParameterRequiredType / defaultDescription
dag_idrequiredstring

get_dag_detailsread

Get details of Dag.

ParameterRequiredType / defaultDescription
dag_idrequiredstring

get_dag_tagsread

Get all Dag tags.

ParameterRequiredType / defaultDescription
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['tenant_id']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `name`
tag_name_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent tag_name_prefix_pattern parameter when possible.
tag_name_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.

get_dagsread

Get all Dags.

ParameterRequiredType / defaultDescription
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
tagsoptionalarray
tags_match_modeoptional[{'type': 'string', 'enum': ['any', 'all']}, {'type': 'null'}]
ownersoptionalarray
dag_id_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent dag_id_prefix_pattern parameter when possible.
dag_id_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
dag_display_name_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent dag_display_name_prefix_pattern parameter when possible.
dag_display_name_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
exclude_staleoptionalboolean · = True
pausedoptional[{'type': 'boolean'}, {'type': 'null'}]
has_import_errorsoptional[{'type': 'boolean'}, {'type': 'null'}]Filter Dags by having import errors. Only Dags that have been successfully loaded before will be returned.
last_dag_run_stateoptional[{'$ref': '#/$defs/DagRunState'}, {'type': 'null'}]
bundle_nameoptional[{'type': 'string'}, {'type': 'null'}]
bundle_versionoptional[{'type': 'string'}, {'type': 'null'}]
has_asset_scheduleoptional[{'type': 'boolean'}, {'type': 'null'}]Filter Dags with asset-based scheduling
asset_dependencyoptional[{'type': 'string'}, {'type': 'null'}]Filter Dags by asset dependency (name or URI)
dag_run_start_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
dag_run_start_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
dag_run_start_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
dag_run_start_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
dag_run_end_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
dag_run_end_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
dag_run_end_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
dag_run_end_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
dag_run_stateoptionalarray
order_byoptionalarray · = ['dag_id']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `dag_id, dag_display_name, next_dagrun, state, start_date, last_run_state, last_run_start_date`
is_favoriteoptional[{'type': 'boolean'}, {'type': 'null'}]
timetable_typeoptionalarray

patch_dagwrite

Patch the specific Dag.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
update_maskoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
is_pausedrequiredboolean

patch_dagswrite

Patch multiple Dags. If neither `dag_id_pattern` nor `dag_id_prefix_pattern` is provided, no Dags will be matched regardless of other filters. To match all Dags, pass a wildcard value such as `~` or `%` for `dag_id_pattern`.

ParameterRequiredType / defaultDescription
update_maskoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
tagsoptionalarray
tags_match_modeoptional[{'type': 'string', 'enum': ['any', 'all']}, {'type': 'null'}]
ownersoptionalarray
dag_id_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent dag_id_prefix_pattern parameter when possible.
dag_id_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
exclude_staleoptionalboolean · = True
pausedoptional[{'type': 'boolean'}, {'type': 'null'}]
is_pausedrequiredboolean

DAG Parsing1 tools

reparse_dag_filewrite

Request re-parsing a Dag file.

ParameterRequiredType / defaultDescription
file_tokenrequiredstring

DagRun10 tools

clear_dag_runwrite

Clear Dag Run

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
dry_runoptionalboolean · = True
only_failedoptionalboolean · = False
only_newoptionalboolean · = FalseOnly queue newly added tasks in the latest Dag version without clearing existing tasks.
run_on_latest_versionoptional[{'type': 'boolean'}, {'type': 'null'}](Experimental) Run on the latest bundle version of the Dag after clearing. If not specified, falls back to the DAG-level rerun_with_latest_version parameter, then the [core] rerun_with_latest_version config option, and finally False.
noteoptional[{'type': 'string', 'maxLength': 1000}, {'type': 'null'}]

diagnose_task_failurewrite

Combine task instance, failing try, log excerpt, dependencies, and XComs. The single highest-value tool for both the agent-iteration loop and human-driven troubleshooting via chat -- replaces 5+ separate tool calls and manual cross-referencing.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
run_idrequiredstring
task_idrequiredstring

get_dag_runread

Get Dag Run

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring

get_dag_runsread

Get all Dag Runs. This endpoint allows specifying `~` as the dag_id to retrieve Dag Runs for all Dags. Supports two pagination modes: **Offset (default):** use `limit` and `offset` query parameters. Returns `total_entries`. **Cursor:** pass `cursor` (empty string for the first page, then `next_cursor` from the response). When `cursor` is provided, `offset` is ignored and `total_entries` is not returned. next_cursor is null when there are no more pages; previous_cursor is null on the first page.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
cursoroptional[{'type': 'string'}, {'type': 'null'}]Cursor for keyset-based pagination. Pass an empty string for the first page, then use next_cursor from the response. When cursor is provided, offset is ignored.
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
run_after_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
duration_gteoptional[{'type': 'number'}, {'type': 'null'}]
duration_gtoptional[{'type': 'number'}, {'type': 'null'}]
duration_lteoptional[{'type': 'number'}, {'type': 'null'}]
duration_ltoptional[{'type': 'number'}, {'type': 'null'}]
updated_at_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
updated_at_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
updated_at_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
updated_at_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
conf_containsoptionalstring
run_typeoptionalarray
stateoptionalarray
dag_versionoptionalarray
bundle_versionoptional[{'type': 'string'}, {'type': 'null'}]
order_byoptionalarray · = ['id']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, state, dag_id, run_id, logical_date, run_after, start_date, end_date, updated_at, conf, duration, dag_run_id`
run_id_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent run_id_prefix_pattern parameter when possible.
run_id_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
triggering_user_name_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent triggering_user_name_prefix_pattern parameter when possible.
triggering_user_name_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
dag_id_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent dag_id_prefix_pattern parameter when possible.
dag_id_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
partition_key_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). The pipe `|` is matched literally, not as an OR separator. Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent partition_key_prefix_pattern parameter when possible.
partition_key_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). The pipe `|` is part of the prefix, not an OR separator. Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
consuming_asset_patternoptional[{'type': 'string'}, {'type': 'null'}]Filter by consuming asset name or URI using pattern matching

get_list_dag_runs_batchread

Get a list of Dag Runs.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
order_byoptional[{'type': 'string'}, {'type': 'null'}]
page_offsetoptionalinteger · = 0
page_limitoptionalinteger · = 100
dag_idsoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
statesoptional[{'items': {'anyOf': [{'$ref': '#/$defs/DagRunState'}, {'type': 'null'}]}, 'type': 'array'}, {'type': 'null'}]
run_after_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
duration_gteoptional[{'type': 'number'}, {'type': 'null'}]
duration_gtoptional[{'type': 'number'}, {'type': 'null'}]
duration_lteoptional[{'type': 'number'}, {'type': 'null'}]
duration_ltoptional[{'type': 'number'}, {'type': 'null'}]
conf_containsoptional[{'type': 'string'}, {'type': 'null'}]

patch_dag_runwrite

Modify a Dag Run.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
update_maskoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
stateoptional[{'$ref': '#/$defs/DagRunMutableStates'}, {'type': 'null'}]
noteoptional[{'type': 'string', 'maxLength': 1000}, {'type': 'null'}]

test_dag_runwrite

Trigger a Dag run, wait for it to finish, and summarize task outcomes. The core edit-run-observe loop. If the run is still going after timeout_seconds, returns {"state": "still_running", "run_id": ...} instead of an error -- only trigger failures or a missing run are hard errors.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
confoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]
timeout_secondsoptionalnumber · = 60.0

trigger_dag_run_onlywrite

Trigger a Dag.

ParameterRequiredType / defaultDescription
dag_idrequiredany
dag_run_idoptional[{'type': 'string'}, {'type': 'null'}]
data_interval_startoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
data_interval_endoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_daterequired[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_afteroptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
confoptional[{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}]
noteoptional[{'type': 'string'}, {'type': 'null'}]
partition_keyoptional[{'type': 'string'}, {'type': 'null'}]

validate_dag_filewrite

Reparse a Dag file and report import errors/warnings for it. Run immediately after an agent edits a Dag file, before trying to run it.

ParameterRequiredType / defaultDescription
dag_idrequiredstring

wait_dag_run_until_finishedwrite

🚧 This is an experimental endpoint and may change or be removed without notice.Successful response are streamed as newline-delimited JSON (NDJSON). Each line is a JSON object representing the Dag run state.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
intervalrequirednumberSeconds to wait between dag run state checks
resultoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]Collect result XCom from task. Can be set multiple times. If unset, return value of the return task as specified in the dag (in present) is returned by default.

DagSource1 tools

get_dag_sourceread

Get source code using file token.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
version_numberoptional[{'type': 'integer'}, {'type': 'null'}]
acceptoptionalstring · application/json, text/plain, */* · = */*

DagStats1 tools

get_dag_statsread

Get Dag statistics.

ParameterRequiredType / defaultDescription
dag_idsoptionalarray

DagVersion2 tools

get_dag_versionread

Get one Dag Version.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
version_numberrequiredinteger

get_dag_versionsread

Get all Dag Versions. This endpoint allows specifying `~` as the dag_id to retrieve Dag Versions for all Dags.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
version_numberoptionalinteger
bundle_nameoptionalstring
bundle_versionoptional[{'type': 'string'}, {'type': 'null'}]
order_byoptionalarray · = ['id']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, version_number, bundle_name, bundle_version`

DagWarning1 tools

list_dag_warningsread

Get a list of Dag warnings.

ParameterRequiredType / defaultDescription
dag_idoptional[{'type': 'string'}, {'type': 'null'}]
warning_typeoptional[{'$ref': '#/$defs/DagWarningType'}, {'type': 'null'}]
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['tenant_id']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `dag_id, warning_type, message, timestamp, tenant_id`

Dashboard7 tools

metrics_healthwrite

Return Prometheus readiness as a JSON status for panel health checks.

No parameters.

metrics_label_valueswrite

Proxy values for one label (e.g. __name__) (metric browser).

ParameterRequiredType / defaultDescription
label_namerequiredstring

metrics_labelswrite

Proxy Prometheus label-name discovery (metric browser).

No parameters.

metrics_metadatawrite

Proxy Prometheus metric metadata (HELP/TYPE text per metric name) for the Explore help panel. metric/limit params carry no PromQL to scope; the metadata is documentation about this deployment's surface, so filter it to the families tenants may query.

No parameters.

metrics_serieswrite

Proxy matching series (metric browser).

No parameters.

query_metricswrite

Proxy an instant Prometheus query (for the dashboard stat cards).

No parameters.

query_metrics_rangewrite

Proxy a Prometheus range query (start/end/step, for charts).

No parameters.

Data Store6 tools

bulk_recordswrite

Bulk create, update, and delete data store records.

ParameterRequiredType / defaultDescription
actionsrequiredarray

delete_recordwrite

Delete a data store record.

ParameterRequiredType / defaultDescription
namespacerequiredstring
keyrequiredstring

get_namespaceread

List all records in a namespace.

ParameterRequiredType / defaultDescription
namespacerequiredstring
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['key']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `key, namespace, created_at, updated_at, expires_at`

get_recordread

Get a single data store record.

ParameterRequiredType / defaultDescription
namespacerequiredstring
keyrequiredstring

post_recordwrite

Create a data store record.

ParameterRequiredType / defaultDescription
namespacerequiredstring
keyrequiredstring
valuerequiredany
team_nameoptional[{'type': 'string', 'maxLength': 50}, {'type': 'null'}]
expires_atoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]

put_recordwrite

Update (upsert) a data store record.

ParameterRequiredType / defaultDescription
namespace__pathrequiredstring(Path parameter)
key__pathrequiredstring(Path parameter)
namespacerequiredstring
keyrequiredstring
valuerequiredany
team_nameoptional[{'type': 'string', 'maxLength': 50}, {'type': 'null'}]
expires_atoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]

Data Tables10 tools

create_data_tablewrite

Create a new Data Table.

ParameterRequiredType / defaultDescription
namerequiredstring
descriptionoptional[{'type': 'string'}, {'type': 'null'}] · =
columnsoptionalarray · = []

create_data_table_row_endpointwrite

Create a new row in a Data Table.

ParameterRequiredType / defaultDescription
table_namerequiredstring
datarequiredobject

delete_data_tablewrite

Delete a Data Table and all its rows.

ParameterRequiredType / defaultDescription
table_namerequiredstring

delete_data_table_row_endpointwrite

Delete a Data Table row.

ParameterRequiredType / defaultDescription
table_namerequiredstring
row_idrequiredstring

get_data_tableread

Get a single Data Table's metadata (schema).

ParameterRequiredType / defaultDescription
table_namerequiredstring

get_data_table_row_by_idread

Get a single Data Table row.

ParameterRequiredType / defaultDescription
table_namerequiredstring
row_idrequiredstring

get_data_table_rowsread

List rows in a Data Table.

ParameterRequiredType / defaultDescription
table_namerequiredstring
searchoptional[{'type': 'string'}, {'type': 'null'}]Search across all row data (case-insensitive ILIKE)
sort_byoptional[{'type': 'string'}, {'type': 'null'}]Sort by a schema column or one of created_at / updated_at / row_id
sort_orderoptionalstring · = descSort direction
limitoptionalinteger · = 50
offsetoptionalinteger · = 0

get_data_tablesread

List all Data Tables.

No parameters.

update_data_tablewrite

Update a Data Table's metadata (description, columns, display name).

ParameterRequiredType / defaultDescription
table_namerequiredstring
nameoptional[{'type': 'string', 'maxLength': 250}, {'type': 'null'}]
descriptionoptional[{'type': 'string'}, {'type': 'null'}]
columnsoptional[{'items': {'$ref': '#/$defs/ColumnDefinition'}, 'type': 'array'}, {'type': 'null'}]

update_data_table_row_endpointwrite

Update a Data Table row.

ParameterRequiredType / defaultDescription
table_namerequiredstring
row_idrequiredstring
datarequiredobject

Event Log2 tools

get_event_logread

Get Event Log

ParameterRequiredType / defaultDescription
event_log_idrequiredinteger

get_event_logsread

Get all Event Logs.

ParameterRequiredType / defaultDescription
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['id']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, dttm, dag_id, task_id, run_id, event, logical_date, owner, extra, when, event_log_id`
dag_idoptional[{'type': 'string'}, {'type': 'null'}]
task_idoptional[{'type': 'string'}, {'type': 'null'}]
run_idoptional[{'type': 'string'}, {'type': 'null'}]
map_indexoptional[{'type': 'integer'}, {'type': 'null'}]
try_numberoptional[{'type': 'integer'}, {'type': 'null'}]
owneroptional[{'type': 'string'}, {'type': 'null'}]
eventoptional[{'type': 'string'}, {'type': 'null'}]
excluded_eventsoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
included_eventsoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
beforeoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
afteroptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
dag_id_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent dag_id_prefix_pattern parameter when possible.
task_id_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent task_id_prefix_pattern parameter when possible.
run_id_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent run_id_prefix_pattern parameter when possible.
owner_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent owner_prefix_pattern parameter when possible.
event_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent event_prefix_pattern parameter when possible.
dag_id_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
task_id_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
run_id_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
owner_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
event_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.

Forge30 tools

apply_forge_packageswrite

Spawn the deploy subprocess to build v{N+1} and flip the live pointer on success. Refuses a second deploy while one is running (the UI polls GET /package-status for the outcome). The working source is snapshotted by the child.

ParameterRequiredType / defaultDescription
typerequiredstring · python, os

create_forge_dagwrite

Scaffold a new {dag_id}.dag.yaml in the DAG root with template content. git-commit it, queue a priority parse, and return the file path so the frontend opens it.

ParameterRequiredType / defaultDescription
dag_idrequiredstring

create_forge_dirwrite

Create an empty directory. Nothing is written to git here: an empty folder has no content to commit, and shoving a .gitkeep in every created folder pollutes the repo with placeholder files. Git accepts a folder the moment a real file is written into it (write_file), so persistence comes for free once a user actually adds content. git_sync roots are read-only like every other write.

ParameterRequiredType / defaultDescription
rootrequiredstring · dags, shared, packages
pathrequiredstring

delete_forge_filewrite

Delete a file. Versioned-root deletes git-commit the removal (recoverable).

ParameterRequiredType / defaultDescription
rootrequiredstring · dags, shared, packages
pathrequiredstring

download_forge_filewrite

Stream a single file as an attachment (opens in a new tab / browser download).

ParameterRequiredType / defaultDescription
rootrequiredstring · dags, shared, packages
pathrequiredstring

download_forge_zipwrite

Stream a zip of several files/dirs (VS Code multi-file download).

ParameterRequiredType / defaultDescription
rootrequiredstring · dags, shared, packages
pathsrequiredstringcomma-separated root-relative paths to zip

get_forge_broken_dagsread

DAG files (dags root) currently failing to parse/import, for explorer broken markers. ParseImportError rows track only files that currently fail -- the DAG processor clears a row once the file imports cleanly.

No parameters.

get_forge_dags_in_fileread

Resolve which DAG IDs are defined in a file. Used by the IDE Test button.

ParameterRequiredType / defaultDescription
pathrequiredstringfile path relative to the dags root

get_forge_fileread

Read a file in a workspace root.

ParameterRequiredType / defaultDescription
rootrequiredstring · dags, shared, packages
pathrequiredstring

get_forge_graphread

Repository-level git history for a git-backed root (dags, shared), for a Source Control view. Paginated via limit and offset (no total is returned — the UI reads commits length < limit as "no more"). topology keeps git's own --graph ASCII (branch edges preserved, no re-layout); the engine only supplies it so the frontend can avoid re-implementing graph layout. commits carries the structured per-commit change list for the currently-selected commit.

ParameterRequiredType / defaultDescription
limitoptionalinteger · = 30
offsetoptionalinteger · = 0
rootoptionalstring · dags, shared, packages · = dags

get_forge_historyread

Return the git history for a git-backed root path -- commits that touched it, newest first.

ParameterRequiredType / defaultDescription
pathrequiredstring
rootoptionalstring · dags, shared, packages · = dags

get_forge_history_detailread

Return the diff + content for a single file at a past commit.

ParameterRequiredType / defaultDescription
pathrequiredstring
commitrequiredstringcommit hash
rootoptionalstring · dags, shared, packages · = dags

get_forge_package_statusread

Return the package deploy status plus the live/installed releases for a kind.

ParameterRequiredType / defaultDescription
typeoptional[{'type': 'string', 'enum': ['python', 'os']}, {'type': 'null'}]

get_forge_packages_sourceread

Return a package kind's source -- the editable working file, or a released version's snapshot.

ParameterRequiredType / defaultDescription
typerequiredstring · python, os
versionoptional[{'type': 'integer'}, {'type': 'null'}]

get_forge_treeread

List a directory in a workspace root.

ParameterRequiredType / defaultDescription
rootrequiredstring · dags, shared, packages
pathoptionalstring · =

get_ide_catalogread

Return the operator catalog from the metadata database.

No parameters.

get_operator_detailsread

Return full operator details for a specific import path (params, base classes, deprecation status).

ParameterRequiredType / defaultDescription
import_pathrequiredstring

put_forge_filewrite

Write a file. Versioned roots (dags, shared) git-commit + audit; unprovisioned roots audit only.

ParameterRequiredType / defaultDescription
rootrequiredstring · dags, shared, packages
pathrequiredstring
contentrequiredstring

put_forge_packages_sourcewrite

Persist a package kind's working source. Does not install anything -- apply does.

ParameterRequiredType / defaultDescription
typerequiredstring · python, os
contentrequiredstring

refresh_ide_catalogwrite

Force-regenerate the operator catalog.

No parameters.

rename_forge_filewrite

Rename/move a file within the same root. Cross-root renames are rejected.

ParameterRequiredType / defaultDescription
rootrequiredstring · dags, shared, packages
pathrequiredstring
new_pathrequiredstring

replace_in_forge_fileswrite

Find-and-replace across files in a workspace root, matching VS Code's replace-all UX. Walks files that match the include/exclude globs, applies the pattern, and writes each changed file back to disk. Git-backed roots (dags, shared) are committed.

ParameterRequiredType / defaultDescription
rootrequiredstring · dags, shared, packages
queryrequiredstring
replacementrequiredstring
regexoptionalboolean · = False
case_sensitiveoptionalboolean · = False
whole_wordoptionalboolean · = False
includeoptionalstring · = *
excludeoptional[{'type': 'string'}, {'type': 'null'}]

restore_forge_packageswrite

Re-activate a previously built release by flipping the live pointer back to it. Unlike apply, restore does not build anything -- it just points the settings back at an existing v{N} (Git checkout semantics), so it runs inline rather than in the deploy child. The version must exist on disk (the retained v{N} catalog); the full source history lives on disk. The restore itself is recorded in the audit Log.

ParameterRequiredType / defaultDescription
typerequiredstring · python, os
versionrequiredinteger

restore_forge_versionwrite

Restore a git-backed root path to a past commit's content and commit the restore.

ParameterRequiredType / defaultDescription
pathrequiredstring
commitrequiredstringcommit hash to restore the path from
rootoptionalstring · dags, shared, packages · = dags

search_forge_filesread

Content search across a workspace root — walk-and-grep with VS Code-style options.

ParameterRequiredType / defaultDescription
rootrequiredstring · dags, shared, packages
queryrequiredstring
regexoptionalboolean · = False
case_sensitiveoptionalboolean · = False
whole_wordoptionalboolean · = False
includeoptionalstring · = *
excludeoptional[{'type': 'string'}, {'type': 'null'}]

search_operatorsread

Search the operator catalog stored in the metadata database.

ParameterRequiredType / defaultDescription
queryrequiredstringSearch query (natural language, e.g. 's3 to postgres')
provideroptional[{'type': 'string'}, {'type': 'null'}]Optional provider filter
limitoptionalinteger · = 10

upload_forge_fileswrite

Upload one or more files into a directory (VS Code explorer multi-select).

ParameterRequiredType / defaultDescription
rootrequiredstring · dags, shared, packages
pathoptionalstring · = destination root-relative directory
filesrequiredarray

upload_forge_folderwrite

Extract a client-zipped folder into path. Rejects zip-slip escapes at extraction.

ParameterRequiredType / defaultDescription
rootrequiredstring · dags, shared, packages
pathoptionalstring · =
filerequiredstring

validate_forge_filewrite

Validate the current content of an editor file in place (no write, nothing committed). Python files get a syntax gate (ast.parse) plus ruff lint rows when ruff is installed. YAML / other kinds return no diagnostics here -- their structural checks are client-side (the canvas tier-2 validation), consistent with the opaque-DAO design.

ParameterRequiredType / defaultDescription
rootrequiredstring · dags, shared, packages
pathrequiredstring
contentrequiredstring

validate_forge_packageswrite

Resolve-only check of the working source (no install, nothing flipped). Blocks until the child resolves; raises 400 with the resolver output when the packages do not resolve. Accepts optional inline content in the request body; when present, validates the temp file it is written to instead of the on-disk source -- the validate-before-save path.

ParameterRequiredType / defaultDescription
typerequiredstring · python, os
bodyoptional[{'$ref': '#/$defs/PackagesValidateRequest'}, {'type': 'null'}]

Import Error2 tools

get_import_errorread

Get an import error.

ParameterRequiredType / defaultDescription
import_error_idrequiredinteger

get_import_errorsread

Get all import errors.

ParameterRequiredType / defaultDescription
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['id']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, timestamp, filename, bundle_name, stacktrace, import_error_id`
filename_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent filename_prefix_pattern parameter when possible.
filename_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
filenameoptional[{'type': 'string'}, {'type': 'null'}]Exact filename match. Returns only the import error for this specific file path.
bundle_nameoptional[{'type': 'string'}, {'type': 'null'}]Exact bundle name match. Returns only import errors from this specific bundle.

Job1 tools

get_jobsread

Get all jobs.

ParameterRequiredType / defaultDescription
is_aliveoptional[{'type': 'boolean'}, {'type': 'null'}]
start_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['id']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, dag_id, state, job_type, start_date, end_date, latest_heartbeat, executor_class, hostname, unixname`
job_stateoptional[{'type': 'string'}, {'type': 'null'}]
job_typeoptional[{'type': 'string'}, {'type': 'null'}]
hostnameoptional[{'type': 'string'}, {'type': 'null'}]
executor_classoptional[{'type': 'string'}, {'type': 'null'}]

Log Explorer2 tools

label_valueswrite

Proxy Loki /loki/api/v1/label/{name}/values, scoped via match[]. Feeds the Log Explorer's cascading stream-context dropdowns: each level requests the next selector's distinct values constrained by the selections already made (and by the source's log_kind). Every client-supplied match[] selector is scoped the same way query_logs scopes the main query.

ParameterRequiredType / defaultDescription
namerequiredstring

query_logswrite

Proxy a LogQL query_range request to Loki, scoped to your workspace.

No parameters.

Monitor1 tools

get_healthread

Get Health

No parameters.

Pool4 tools

get_poolread

Get a pool.

ParameterRequiredType / defaultDescription
pool_namerequiredstring

get_poolsread

Get all pools entries.

ParameterRequiredType / defaultDescription
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['id']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, pool, name`
pool_name_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent pool_name_prefix_pattern parameter when possible.
pool_name_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.

patch_poolwrite

Update a Pool.

ParameterRequiredType / defaultDescription
pool_namerequiredstring
update_maskoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
pooloptional[{'type': 'string'}, {'type': 'null'}]
slotsoptional[{'type': 'integer', 'minimum': -1.0, 'description': 'Number of slots. Use -1 for unlimited.'}, {'type': 'null'}]
descriptionoptional[{'type': 'string'}, {'type': 'null'}]
include_deferredoptional[{'type': 'boolean'}, {'type': 'null'}]
team_nameoptional[{'type': 'string', 'maxLength': 50}, {'type': 'null'}]

post_poolwrite

Create a Pool.

ParameterRequiredType / defaultDescription
namerequiredstring
slotsrequiredintegerNumber of slots. Use -1 for unlimited.
descriptionoptional[{'type': 'string'}, {'type': 'null'}]
include_deferredoptionalboolean · = False
team_nameoptional[{'type': 'string', 'maxLength': 50}, {'type': 'null'}]

Provider1 tools

get_providersread

Get providers.

ParameterRequiredType / defaultDescription
limitoptionalinteger · = 50
offsetoptionalinteger · = 0

Task2 tools

get_taskread

Get simplified representation of a task.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
task_idrequiredany

get_tasksread

Get tasks for Dag.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
order_byoptionalstring · = task_id

Task Instance15 tools

get_external_log_urlread

Get external log URL for a specific task instance.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
try_numberrequiredinteger
map_indexoptionalinteger · = -1

get_hitl_detailread

Get a Human-in-the-loop detail of a specific task instance.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
map_indexrequiredinteger

get_hitl_detailsread

Get Human-in-the-loop details.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['ti_id']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `ti_id, subject, responded_at, created_at, responded_by_user_id, responded_by_user_name, dag_id, run_id, task_display_name, run_after, rendered_map_index, task_instance_operator, task_instance_state`
dag_id_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent dag_id_prefix_pattern parameter when possible.
dag_id_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
task_idoptional[{'type': 'string'}, {'type': 'null'}]
task_id_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent task_id_prefix_pattern parameter when possible.
task_id_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
map_indexoptional[{'type': 'integer'}, {'type': 'null'}]
stateoptionalarray
response_receivedoptional[{'type': 'boolean'}, {'type': 'null'}]
responded_by_user_idoptionalarray
responded_by_user_nameoptionalarray
subject_searchoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent subject_search parameter when possible.
body_searchoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent body_search parameter when possible.
created_at_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
created_at_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
created_at_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
created_at_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]

get_logread

Get logs for a specific task instance.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
try_numberrequiredinteger
full_contentoptionalboolean · = False
map_indexoptionalinteger · = -1
tokenoptional[{'type': 'string'}, {'type': 'null'}]
acceptoptionalstring · application/json, application/x-ndjson, */* · = */*

get_mapped_task_instanceread

Get task instance.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
map_indexrequiredinteger

get_mapped_task_instance_triesread

Get Mapped Task Instance Tries

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
map_indexrequiredinteger

get_mapped_task_instancesread

Get list of mapped task instances.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
run_after_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
updated_at_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
updated_at_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
updated_at_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
updated_at_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
duration_gteoptional[{'type': 'number'}, {'type': 'null'}]
duration_gtoptional[{'type': 'number'}, {'type': 'null'}]
duration_lteoptional[{'type': 'number'}, {'type': 'null'}]
duration_ltoptional[{'type': 'number'}, {'type': 'null'}]
stateoptionalarray
pooloptionalarray
pool_name_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent pool_name_prefix_pattern parameter when possible.
pool_name_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
queueoptionalarray
queue_name_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent queue_name_prefix_pattern parameter when possible.
queue_name_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
executoroptionalarray
version_numberoptionalarray
try_numberoptionalarray
operatoroptionalarray
operator_name_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent operator_name_prefix_pattern parameter when possible.
operator_name_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
map_indexoptionalarray
rendered_map_index_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent rendered_map_index_prefix_pattern parameter when possible.
rendered_map_index_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['map_index']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, state, duration, start_date, end_date, map_index, try_number, logical_date, run_after, data_interval_start, data_interval_end, rendered_map_index, operator`

get_task_instanceread

Get task instance.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring

get_task_instance_dependenciesread

Get dependencies blocking task from getting scheduled.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
map_indexoptionalinteger · = -1

get_task_instance_triesread

Get list of task instances history.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
map_indexoptionalinteger · = -1

get_task_instance_try_detailsread

Get task instance details by try number.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
task_try_numberrequiredinteger
map_indexoptionalinteger · = -1

get_task_instancesread

Get list of task instances. This endpoint allows specifying `~` as the dag_id, dag_run_id to retrieve task instances for all Dags and Dag runs. Supports two pagination modes: **Offset (default):** use `limit` and `offset` query parameters. Returns `total_entries`. **Cursor:** pass `cursor` (empty string for the first page, then `next_cursor` from the response). When `cursor` is provided, `offset` is ignored and `total_entries` is not returned. next_cursor is null when there are no more pages; previous_cursor is null on the first page.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
cursoroptional[{'type': 'string'}, {'type': 'null'}]Cursor for keyset-based pagination. Pass an empty string for the first page, then use next_cursor from the response. When cursor is provided, offset is ignored.
task_idoptional[{'type': 'string'}, {'type': 'null'}]
run_after_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
updated_at_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
updated_at_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
updated_at_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
updated_at_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
duration_gteoptional[{'type': 'number'}, {'type': 'null'}]
duration_gtoptional[{'type': 'number'}, {'type': 'null'}]
duration_lteoptional[{'type': 'number'}, {'type': 'null'}]
duration_ltoptional[{'type': 'number'}, {'type': 'null'}]
task_display_name_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent task_display_name_prefix_pattern parameter when possible.
task_display_name_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match on task display name: optional _task_display_property_value else task_id (same as coalesce). Case-sensitive. Index-friendly alternative to task_display_name_pattern. On large databases, combine with dag_id_prefix_pattern (or a specific Dag in the path) so (dag_id, task_id, ...) indexes apply. Use | for OR. Use ~ to match all. Trailing non-alphanumeric characters in the term are stripped before matching so the range scan stays index-compatible under locale-aware collations.
task_group_idoptional[{'type': 'string'}, {'type': 'null'}]Filter by exact task group ID. Returns all tasks within the specified task group.
dag_id_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent dag_id_prefix_pattern parameter when possible.
dag_id_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
run_id_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent run_id_prefix_pattern parameter when possible.
run_id_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
stateoptionalarray
pooloptionalarray
pool_name_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent pool_name_prefix_pattern parameter when possible.
pool_name_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
queueoptionalarray
queue_name_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent queue_name_prefix_pattern parameter when possible.
queue_name_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
executoroptionalarray
version_numberoptionalarray
try_numberoptionalarray
operatoroptionalarray
operator_name_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent operator_name_prefix_pattern parameter when possible.
operator_name_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
map_indexoptionalarray
rendered_map_index_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent rendered_map_index_prefix_pattern parameter when possible.
rendered_map_index_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['map_index']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `id, state, duration, start_date, end_date, map_index, try_number, logical_date, run_after, data_interval_start, data_interval_end, rendered_map_index, operator`

get_task_instances_batchread

Get list of task instances.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
dag_idsoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
dag_run_idsoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
task_idsoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
stateoptional[{'items': {'anyOf': [{'$ref': '#/$defs/TaskInstanceState'}, {'type': 'null'}]}, 'type': 'array'}, {'type': 'null'}]
run_after_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
start_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
duration_gteoptional[{'type': 'number'}, {'type': 'null'}]
duration_gtoptional[{'type': 'number'}, {'type': 'null'}]
duration_lteoptional[{'type': 'number'}, {'type': 'null'}]
duration_ltoptional[{'type': 'number'}, {'type': 'null'}]
pooloptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
queueoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
executoroptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
page_offsetoptionalinteger · = 0
page_limitoptionalinteger · = 100
order_byoptional[{'type': 'string'}, {'type': 'null'}]

patch_task_instancewrite

Update a task instance.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
map_indexoptional[{'type': 'integer'}, {'type': 'null'}]
update_maskoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
new_stateoptional[{'$ref': '#/$defs/TaskInstanceState'}, {'type': 'null'}]
noteoptional[{'type': 'string', 'maxLength': 1000}, {'type': 'null'}]
include_upstreamoptionalboolean · = False
include_downstreamoptionalboolean · = False
include_futureoptionalboolean · = False
include_pastoptionalboolean · = False

post_clear_task_instanceswrite

Clear task instances.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dry_runoptionalboolean · = True
start_dateoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
end_dateoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
only_failedoptionalboolean · = True
only_runningoptionalboolean · = False
reset_dag_runsoptionalboolean · = True
task_idsoptional[{'items': {'anyOf': [{'type': 'string'}, {'prefixItems': [{'type': 'string'}, {'type': 'integer'}], 'type': 'array', 'maxItems': 2, 'minItems': 2}]}, 'type': 'array'}, {'type': 'null'}]A list of `task_id` or [`task_id`, `map_index`]. If only the `task_id` is provided for a mapped task, all of its map indices will be targeted.
dag_run_idoptional[{'type': 'string'}, {'type': 'null'}]
include_upstreamoptionalboolean · = False
include_downstreamoptionalboolean · = False
include_futureoptionalboolean · = False
include_pastoptionalboolean · = False
run_on_latest_versionoptional[{'type': 'boolean'}, {'type': 'null'}](Experimental) Run on the latest bundle version of the dag after clearing the task instances. If not specified, falls back to the DAG-level rerun_with_latest_version parameter, then the [core] rerun_with_latest_version config option, and finally False (the historical default for clear/rerun).
prevent_running_taskoptionalboolean · = False
noteoptional[{'type': 'string', 'maxLength': 1000}, {'type': 'null'}]

Task State Store6 tools

clear_task_state_storewrite

Delete all task state store keys for a task instance. When all_map_indices=true, state store is cleared for every map index of the task and the map_index parameter is ignored.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
map_indexoptionalinteger · = -1
all_map_indicesoptionalboolean · = False

delete_task_state_storewrite

Delete a single task state store key. No-op if the key does not exist.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
keyrequiredstring
map_indexoptionalinteger · = -1

get_task_state_storeread

Get a single task state store entry.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
keyrequiredstring
map_indexoptionalinteger · = -1

list_task_state_storeread

List all task state store entries for a task instance.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
map_indexoptionalinteger · = -1
limitoptionalinteger · = 50
offsetoptionalinteger · = 0

patch_task_state_storewrite

Update the value of an existing task state store key.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
keyrequiredstring
map_indexoptionalinteger · = -1
valuerequiredany

set_task_state_storewrite

Set a task state store value. Creates or overwrites the key.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
keyrequiredstring
map_indexoptionalinteger · = -1
valuerequiredany
expires_atoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'string', 'const': 'default'}, {'type': 'null'}] · = default

Variable4 tools

get_variableread

Get a variable entry.

ParameterRequiredType / defaultDescription
variable_keyrequiredstring

get_variablesread

Get all Variables entries.

ParameterRequiredType / defaultDescription
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
order_byoptionalarray · = ['id']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `key, id, _val, description, is_encrypted, team_name`
variable_key_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent variable_key_prefix_pattern parameter when possible.
variable_key_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.

patch_variablewrite

Update a variable by key.

ParameterRequiredType / defaultDescription
variable_keyrequiredstring
update_maskoptional[{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}]
keyrequiredstring
valuerequiredany
descriptionoptional[{'type': 'string'}, {'type': 'null'}]
team_nameoptional[{'type': 'string', 'maxLength': 50}, {'type': 'null'}]

post_variablewrite

Create a variable.

ParameterRequiredType / defaultDescription
keyrequiredstring
valuerequiredany
descriptionoptional[{'type': 'string'}, {'type': 'null'}]
team_nameoptional[{'type': 'string', 'maxLength': 50}, {'type': 'null'}]

Version1 tools

get_versionread

Get version information.

No parameters.

XCom4 tools

create_xcom_entrywrite

Create an XCom entry.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
task_idrequiredstring
dag_run_idrequiredstring
keyrequiredstring
valuerequiredany
map_indexoptionalinteger · = -1

get_xcom_entriesread

Get all XCom entries. This endpoint allows specifying `~` as the dag_id, dag_run_id, task_id to retrieve XCom entries for all Dags.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
dag_run_idrequiredstring
task_idrequiredstring
xcom_keyoptional[{'type': 'string'}, {'type': 'null'}]
map_indexoptional[{'type': 'integer', 'minimum': -1.0}, {'type': 'null'}]
limitoptionalinteger · = 50
offsetoptionalinteger · = 0
xcom_key_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent xcom_key_prefix_pattern parameter when possible.
xcom_key_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
dag_display_name_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent dag_display_name_prefix_pattern parameter when possible.
dag_display_name_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
run_id_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent run_id_prefix_pattern parameter when possible.
run_id_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
task_id_patternoptional[{'type': 'string'}, {'type': 'null'}]SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). Use the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported. **Performance note:** this full-match pattern is evaluated as ILIKE '%term%' and most of the time prevents the database from using B-tree indexes, which can be very slow on large tables. Prefer the equivalent task_id_prefix_pattern parameter when possible.
task_id_prefix_patternoptional[{'type': 'string'}, {'type': 'null'}]Prefix match — returns items whose value starts with the given string (case-sensitive, index-friendly). Use the pipe `|` operator for OR logic (e.g. `dag1|dag2`). Use `~` to match all. Wildcard characters (`%`, `_`) are treated as literal characters. Trailing non-alphanumeric characters in the prefix are stripped before matching so the range scan stays index-compatible under locale-aware collations — e.g. `test_` effectively matches items starting with `test`, and `s3://` matches items starting with `s3`.
map_index_filteroptional[{'type': 'integer'}, {'type': 'null'}]
logical_date_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
logical_date_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_gteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_gtoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_lteoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
run_after_ltoptional[{'type': 'string', 'format': 'date-time'}, {'type': 'null'}]
order_byoptionalarray · = ['dag_id', 'task_id', 'run_id', 'map_index', 'key']Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `key, dag_id, run_id, task_id, map_index, timestamp, run_after`

get_xcom_entryread

Get an XCom entry.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
task_idrequiredstring
dag_run_idrequiredstring
xcom_keyrequiredstring
map_indexoptionalinteger · = -1
deserializeoptionalboolean · = False
stringifyoptionalboolean · = False

update_xcom_entrywrite

Update an existing XCom entry.

ParameterRequiredType / defaultDescription
dag_idrequiredstring
task_idrequiredstring
dag_run_idrequiredstring
xcom_keyrequiredstring
valuerequiredany
map_indexoptionalinteger · = -1

Prompts3 prompts

airflow_mcp_guide

Explain the composite tools and when to use them over manual chaining.

validate_dag

Playbook for `/validate-dag`: reparse a Dag file and report problems.

diagnose_failure

Playbook for `/diagnose-failure`: explain why a task instance failed.