Dagster Plus resources are reachable two ways: the Dagster Plus MCP server and the dg api CLI. Prefer the MCP server whenever it is connected and covers the operation; use dg api otherwise. Reference files name their MCP equivalent where one exists, and are CLI-only where none does.
One area runs the other way: insights metrics — cost, credits, and usage reporting — exist only on the MCP server.
Important: Always read general.md first before using any dg api subcommand. It covers how to choose between MCP and the CLI, plus shared flags (--json, --response-schema, --deployment, --view-graphql) and best practices.
dg api asset-check — querying asset checks or asset check execution history in Dagster Plus
dg api: General — always read before using any dg api subcommand; choosing between the Dagster Plus MCP server and the dg api CLI
Dagster Plus insights metrics — Dagster credits, compute or warehouse cost, and usage metrics for an asset, job, or deployment; execution time, materialization counts, row counts, or cost trends over a time window
dg api job — listing or inspecting jobs in Dagster Plus
dg api agent — listing or inspecting Dagster Plus agents
dg api alert-policy — managing alert policies in Dagster Plus (listing, syncing from YAML)
dg api artifact — uploading or downloading artifacts in Dagster Plus
dg api asset — querying information about assets in Dagster Plus (metadata, events, DA evaluations, health status, etc.)
dg api code-location — managing code locations in Dagster Plus (add, delete, list, inspect)
dg api deployment — managing Dagster Plus deployments (create, delete, list, settings)
dg api issue — listing Dagster Plus Issues, fetching a specifc Dagster Plus Issue
dg api organization — managing Dagster Plus organization settings and SAML/SSO configuration
dg api run — run operations, run details, run events, run logs; listing runs, getting run info, fetching run events, compute logs; re-executing or retrying a failed run or backfill, from failure or from scratch; terminating or canceling an in-flight run
dg api schedule — schedule operations, schedule details, schedule ticks; listing schedules, getting schedule info, schedule tick history
dg api secret — listing or inspecting secrets in a Dagster Plus deployment
dg api sensor — sensor operations, sensor details, sensor ticks; listing sensors, getting sensor info, sensor tick history