skillfed

dagster-graphql

The GraphQL API for Dagster.

dagster-graphql v1.13.17 7.8M downloads/30d#1,698 on PyPI15,996
Permissive license Apache-2.0 Active released

What it is and what it does

dagster-graphql is the GraphQL API layer for Dagster, the cloud-native data pipeline orchestrator. It exposes Dagster's core data model—assets, pipelines, runs, and metadata—through a GraphQL interface, allowing programmatic queries and mutations against a running Dagster instance. This package is typically used alongside dagster and its web server to enable external tools, dashboards, or automation scripts to query pipeline state, asset lineage, run history, and observability data.

The package depends on gql, graphene, requests, and starlette to handle GraphQL transport, schema definition, HTTP communication, and async web serving. It is designed for developers building integrations with Dagster, creating custom dashboards, or automating workflows that need to inspect or interact with Dagster's orchestration state programmatically.

Use it for:

  • Query asset lineage and dependencies from a Dagster instance to build custom lineage visualizations or impact analysis tools.
  • Fetch pipeline run history and execution logs via GraphQL for integration with external monitoring or alerting systems.
  • Build custom dashboards or web applications that display Dagster asset status, run metrics, and data quality signals.
  • Automate workflows that depend on Dagster state—e.g., trigger downstream systems when specific assets complete successfully.
  • Integrate Dagster metadata into data catalogs or governance tools by querying asset definitions, owners, and tags.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides a GraphQL API interface for querying and interacting with Dagster data pipelines, assets, and orchestration metadata.

Yes, if you need programmatic GraphQL access to a Dagster instance. The package is actively maintained, has no known vulnerabilities, and integrates cleanly with the Dagster ecosystem. Install it when building external tools, dashboards, or automation that queries Dagster's orchestration state; it is not a standalone tool but a necessary dependency for GraphQL-based Dagster integrations.

Install

dagster-graphql on PyPI

pip

pip install dagster-graphql

uv

uv add dagster-graphql

poetry

poetry add dagster-graphql

Installing dagster-graphql

Before you install

Low friction install with a small, stable dependency footprint. The package is actively maintained with a recent release and no known vulnerabilities, backed by a well-established project with strong community engagement.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license notice.

Quickstart

pip install dagster-graphql

import dagster_graphql
from gql import Client
from gql.transport.requests import RequestsHTTPTransport

transport = RequestsHTTPTransport(url="http://localhost/graphql")
client = Client(transport=transport)
# Execute queries against the Dagster GraphQL endpoint

Requires a running Dagster instance with GraphQL endpoint exposed; Python 3.10 or later (requires_python >=3.10,<3.15).

Verify before relying

  • Specific GraphQL schema coverage and which Dagster operations are queryable through this API
  • Whether this package is intended for direct use or primarily as a dependency of dagster-webserver
  • Performance characteristics when querying large asset graphs or pipeline histories

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (<3.15,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 5 — dagster, gql, graphene, requests, starlette
Maintenance actively maintained — 7 days since the last release
Last repo commit
First released
Downloads 7,758,551/month — #1,698 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: dagster_graphql-1.13.17-py3-none-any.whl

Tags

graphql api for dagsterdagster pipeline graphqlquery dagster assets graphqldagster orchestration apidagster metadata graphql interfacegraphql dagster integrationdagster web api
data-orchestrationgraphql-apipipeline-metadata

More Distributed Computing packages