dagster-graphql
The GraphQL API for Dagster.
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-graphqluv
uv add dagster-graphqlpoetry
poetry add dagster-graphqlInstalling 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
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
dagsterDagster is a data pipeline orchestrator that…
permissive · top 5,000 on PyPI
dagster-webserverProvides a web UI for Dagster, a data pipeline…
permissive · top 5,000 on PyPI
dagitDagit is the web UI for Dagster, providing a…
permissive · top 15,000 on PyPI
dagster-rest-resourcesProvides REST API resource integrations for…
permissive · top 15,000 on PyPI
dagster-dg-coredagster-dg-core provides the core orchestration…
permissive · top 5,000 on PyPI
dagster-slackProvides a Slack client resource for Dagster…
permissive · top 5,000 on PyPI
dagster-cloudDagster Cloud is a managed orchestration…
permissive · top 5,000 on PyPI
dagster-cloud-cliCLI tool for managing and deploying Dagster…
permissive · top 5,000 on PyPI
dagster-dltIntegrates dlt data loading into Dagster…
permissive · top 15,000 on PyPI
dagster-prometheusIntegrates Prometheus metrics collection and…
permissive · top 15,000 on PyPI