Dagster+ ExecModule
Overview
DagsterPlusModule reads job run status from one Dagster+ deployment. Use it to review runs for a specific job, collect failures for an operations workflow, or check the exact run that produced the data a downstream step expects. Keep lookup errors separate from failed runs so an expired token or unavailable API does not look like a failed job.
Usage
- In Dagster+, use an identity with Viewer access to the intended deployment and jobs. Create a Dagster+ User Token under Organization Settings > Tokens. Dagster+ user token guide
- Save a Dagster+ connection in the Integration Account Console. Use the organization and deployment slugs from your deployment URL.
- In a Workflow Studio environment that offers the connector, add a Dagster+ step and select the saved account under General > Connection.
- Choose List Runs for a page of run summaries or Get Run to look up a specific run ID.
Inputs
| Input | Type | Purpose |
|---|---|---|
operation | string | list_runs (default) or get_run. |
jobName | string | Optional exact job name filter for list_runs. |
runStatus | string | Optional status filter for list_runs. Use one of QUEUED, NOT_STARTED, MANAGED, STARTING, STARTED, SUSPENDED, SUCCESS, FAILURE, CANCELING, or CANCELED. |
limit | integer | List page size from 1 to 100. Defaults to 20. |
cursor | string | Optional continuation cursor from the prior list page. |
runId | string | Required run identifier for get_run. Use the exact ID from Dagster+ or from an earlier lookup. |
The text fields jobName, cursor, and runId accept up to 256 characters. Use filters and paging fields with list_runs. For get_run, supply the run ID.
Outputs
| Output | Type | Meaning |
|---|---|---|
status | string | success or error for the lookup. |
httpStatus | integer | Dagster+ HTTP status when available. A GraphQL error can arrive with HTTP 200. |
runs | array | Run summaries on the current list_runs page. |
count | integer | Number of runs on the current page. |
nextCursor | string | Cursor for another list_runs request when the page is full. |
run | object | Run summary for get_run. |
error | object | Sanitized code, message, and retryable, with retryAfterSeconds when available. |
Each run summary includes runId, jobName, and status. It includes startTime and endTime as Unix epoch seconds when Dagster+ supplies them. A successful lookup can return a run in FAILURE. Check the nested run status when deciding whether to continue.
IntegrationAccount Requirements
Use an authorized READY IntegrationAccount with provider DAGSTER_PLUS. Set accountId to the Dagster+ organization slug, username to the deployment slug, and the protected apiKey field to a Dagster+ User Token. The workflow credential broker resolves the saved fields at execution time. Keep the token in the connection and reference the account from workflow configuration.
The token's identity needs permission to read the selected deployment and the relevant jobs. Viewer access is suitable for monitoring where the identity can already see those jobs. Deployment and code location permissions can affect which runs are visible. Dagster+ roles and permissions
Configuration
The connector derives its HTTPS destination from the saved slugs using the pattern https://<organization>.dagster.cloud/<deployment>/graphql. Supply slugs rather than a full URL. For example, for the deployment URL https://example.dagster.cloud/prod, enter example as the organization and prod as the deployment. This connector supports US-hosted Dagster+ deployments on dagster.cloud. Dagster+ GraphQL authentication
Operations
- List Runs reads one page of runs in the saved deployment. Filter by job name or status to build a review queue. For example, combine a job name and
FAILUREto collect unsuccessful nightly runs for triage. - Get Run looks up one run by its exact identifier. Use it when a downstream workflow depends on a specific execution. A newer success for the same job may belong to a different batch.
Errors and Failure Modes
| Condition | What to check |
|---|---|
| Invalid input | Check the operation, run ID, status spelling, and page size. |
| Account unavailable or destination denied | Verify the saved connection is ready and uses the correct organization and deployment slugs. |
| Authentication or permission error | Check that the User Token is current and its identity can read the target deployment and job. |
| Run missing | Verify the exact run ID and the deployment selected by the account. |
| Rate limiting or transient network or provider failure | Use bounded backoff for retryable failures and follow returned retry guidance when present. |
| GraphQL error or invalid response | Check the deployment and permissions, then investigate in Dagster+. The connector surfaces a sanitized error for workflow routing. |
Example
A reporting workflow receives the run ID for the daily orders dataset. Check that exact run before refreshing its report.
{
"operation": "get_run",
"runId": "91b7d48a-24f5-4987-884d-6f1df3087d57"
}
In this example, the lookup succeeds and the run is complete.
{
"status": "success",
"httpStatus": 200,
"run": {
"runId": "91b7d48a-24f5-4987-884d-6f1df3087d57",
"jobName": "daily_orders",
"status": "SUCCESS",
"startTime": 1794024000,
"endTime": 1794024240
}
}
Branch on run.status after a successful lookup. Refresh the report on SUCCESS, wait and check again on QUEUED or STARTED, and send FAILURE or CANCELED to your operations workflow. Give lookup errors their own branch so the report cannot proceed on an unverified run.
Notes
- Pagination. Pass
nextCursorback ascursorwith the same filters and page size. A full page can return a cursor even if the following page is empty. - Rate limits. Each execution makes one GraphQL read request. Space out repeated checks and cap workflow retries. The connector leaves retry scheduling to the workflow.
- API limits. The connector limits each response to 1 MiB and each call to 20 seconds. Reduce the page size if a response is too large. Logs, run configuration, and self-managed Dagster instances are outside its scope.
- Idempotency and destructive behavior. Both operations are read-only. Repeated reads can return newer run state. The module cannot launch, retry, or cancel a run.