AptlyStar

Dagster

Orchestrate data pipelines and manage job runs with Dagster

Nutzungsanweisungen

Connect to a Dagster instance to launch job runs, monitor run status, list available jobs across repositories, terminate or delete runs, reexecute failed runs, fetch run logs, and manage schedules and sensors. API token only required for Dagster+.

Tools

dagster_launch_run

Launch a job run on a Dagster instance.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3000\)
apiKeystringNeinDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringJaRepository location (code location) name
repositoryNamestringJaRepository name within the code location
jobNamestringJaName of the job to launch
runConfigJsonstringNeinRun configuration as a JSON object (optional)
tagsstringNeinTags as a JSON array of {key, value} objects (optional)

Ausgabe

ParameterTypBeschreibung
runIdstringThe globally unique ID of the launched run

dagster_get_run

Get the status and details of a Dagster run by its ID.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3000\)
apiKeystringNeinDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringJaThe ID of the run to retrieve

Ausgabe

ParameterTypBeschreibung
runIdstringRun ID
jobNamestringName of the job this run belongs to
statusstringRun status (QUEUED, NOT_STARTED, STARTING, MANAGED, STARTED, SUCCESS, FAILURE, CANCELING, CANCELED)
startTimenumberRun start time as Unix timestamp
endTimenumberRun end time as Unix timestamp
runConfigYamlstringRun configuration as YAML
tagsjsonRun tags as array of {key, value} objects

dagster_get_run_logs

Fetch execution event logs for a Dagster run.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringJaThe ID of the run to fetch logs for
afterCursorstringNeinCursor for paginating through log events (from a previous response)
limitnumberNeinMaximum number of log events to return

Ausgabe

ParameterTypBeschreibung
eventsjsonArray of log events (type, message, timestamp, level, stepKey, eventType)
↳ typestringGraphQL typename of the event
↳ messagestringHuman-readable log message
↳ timestampstringEvent timestamp as a Unix epoch string
↳ levelstringLog level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
↳ stepKeystringStep key, if the event is step-scoped
↳ eventTypestringDagster event type enum value
cursorstringCursor for fetching the next page of log events
hasMorebooleanWhether more log events are available beyond this page

dagster_list_runs

List recent Dagster runs, optionally filtered by job name.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
jobNamestringNeinFilter runs by job name (optional)
statusesstringNeinComma-separated run statuses to filter by, e.g. "SUCCESS,FAILURE" (optional)
limitnumberNeinMaximum number of runs to return (default 20)

Ausgabe

ParameterTypBeschreibung
runsjsonArray of runs
↳ runIdstringRun ID
↳ jobNamestringJob name
↳ statusstringRun status
↳ tagsjsonRun tags as array of {key, value} objects
↳ startTimenumberStart time as Unix timestamp
↳ endTimenumberEnd time as Unix timestamp
cursorstringRun id cursor to pass on the next call to fetch more runs
hasMorebooleanWhether more runs are likely available beyond this page

dagster_list_jobs

List all jobs across repositories in a Dagster instance.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)

Ausgabe

ParameterTypBeschreibung
jobsjsonArray of jobs with name and repositoryName
↳ namestringJob name
↳ repositoryNamestringRepository name

dagster_reexecute_run

Reexecute an existing Dagster run, optionally resuming only from failed steps.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
parentRunIdstringJaThe ID of the run to reexecute
strategystringJaReexecution strategy: ALL_STEPS reruns everything, FROM_FAILURE resumes from failed steps, FROM_ASSET_FAILURE resumes from failed assets

Ausgabe

ParameterTypBeschreibung
runIdstringThe ID of the newly launched reexecution run

dagster_terminate_run

Terminate an in-progress Dagster run.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringJaThe ID of the run to terminate

Ausgabe

ParameterTypBeschreibung
successbooleanWhether the run was successfully terminated
runIdstringThe ID of the terminated run
messagestringError or status message if termination failed

dagster_delete_run

Permanently delete a Dagster run record.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringJaThe ID of the run to delete

Ausgabe

ParameterTypBeschreibung
runIdstringThe ID of the deleted run

dagster_list_schedules

List all schedules in a Dagster repository, optionally filtered by status.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringJaRepository location (code location) name
repositoryNamestringJaRepository name within the code location
scheduleStatusstringNeinFilter schedules by status: RUNNING or STOPPED (omit to return all)

Ausgabe

ParameterTypBeschreibung
schedulesjsonArray of schedules (name, cronSchedule, jobName, status, id, description, executionTimezone)
↳ namestringSchedule name
↳ cronSchedulestringCron expression for the schedule
↳ jobNamestringJob the schedule targets
↳ statusstringSchedule status: RUNNING or STOPPED
↳ idstringInstigator state ID — use this to start or stop the schedule
↳ descriptionstringHuman-readable schedule description
↳ executionTimezonestringTimezone for cron evaluation

dagster_start_schedule

Enable (start) a schedule in a Dagster repository.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringJaRepository location (code location) name
repositoryNamestringJaRepository name within the code location
scheduleNamestringJaName of the schedule to start

Ausgabe

ParameterTypBeschreibung
idstringInstigator state ID of the schedule
statusstringUpdated schedule status (RUNNING or STOPPED)

dagster_stop_schedule

Disable (stop) a running schedule in Dagster.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
instigationStateIdstringJaInstigationState ID of the schedule to stop — available from dagster_list_schedules output

Ausgabe

ParameterTypBeschreibung
idstringInstigator state ID of the schedule
statusstringUpdated schedule status (RUNNING or STOPPED)

dagster_list_sensors

List all sensors in a Dagster repository, optionally filtered by status.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringJaRepository location (code location) name
repositoryNamestringJaRepository name within the code location
sensorStatusstringNeinFilter sensors by status: RUNNING or STOPPED (omit to return all)

Ausgabe

ParameterTypBeschreibung
sensorsjsonArray of sensors (name, sensorType, status, id, description)
↳ namestringSensor name
↳ sensorTypestringSensor type (ASSET, AUTO_MATERIALIZE, FRESHNESS_POLICY, MULTI_ASSET, RUN_STATUS, STANDARD)
↳ statusstringSensor status: RUNNING or STOPPED
↳ idstringInstigator state ID — use this to start or stop the sensor
↳ descriptionstringHuman-readable sensor description

dagster_start_sensor

Enable (start) a sensor in a Dagster repository.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringJaRepository location (code location) name
repositoryNamestringJaRepository name within the code location
sensorNamestringJaName of the sensor to start

Ausgabe

ParameterTypBeschreibung
idstringInstigator state ID of the sensor
statusstringUpdated sensor status (RUNNING or STOPPED)

dagster_stop_sensor

Disable (stop) a running sensor in Dagster.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
instigationStateIdstringJaInstigationState ID of the sensor to stop — available from dagster_list_sensors output

Ausgabe

ParameterTypBeschreibung
idstringInstigator state ID of the sensor
statusstringUpdated sensor status (RUNNING or STOPPED)

dagster_list_assets

List assets tracked by a Dagster instance, optionally filtered by key prefix.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for OSS / self-hosted)
prefixstringNeinSlash-delimited asset key prefix to filter by, e.g. "raw" or "raw/events" (optional)
cursorstringNeinAsset key cursor from a previous response, for pagination (optional)
limitnumberNeinMaximum number of assets to return per page (default 100)

Ausgabe

ParameterTypBeschreibung
assetsjsonArray of assets (assetKey, path)
↳ assetKeystringSlash-joined asset key
↳ pathjsonAsset key path segments
cursorstringCursor to pass on the next call to fetch more assets
hasMorebooleanWhether more assets are likely available beyond this page

dagster_get_asset

Get an asset definition and its latest materialization by asset key.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for OSS / self-hosted)
assetKeystringJaSlash-delimited asset key, e.g. "my_asset" or "raw/events"

Ausgabe

ParameterTypBeschreibung
assetKeystringSlash-joined asset key
pathjsonAsset key path segments
groupNamestringAsset group the definition belongs to
descriptionstringAsset description
jobNamesjsonNames of jobs that can materialize this asset
computeKindstringCompute kind tag (e.g., python, dbt, spark)
isPartitionedbooleanWhether the asset is partitioned
latestMaterializationjsonMost recent materialization (runId, timestamp, partition, stepKey)
↳ runIdstringRun that produced the materialization
↳ timestampstringMaterialization timestamp (epoch ms string)
↳ partitionstringPartition key, if partitioned
↳ stepKeystringStep key that emitted it

dagster_materialize_assets

Materialize selected assets by launching their asset job with an asset selection.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for OSS / self-hosted)
repositoryLocationNamestringJaRepository location (code location) name
repositoryNamestringJaRepository name within the code location
jobNamestringJaAsset job that contains the assets, e.g. "__ASSET_JOB" or a named asset job
assetSelectionstringJaComma- or newline-separated asset keys to materialize, each slash-delimited (e.g. "raw/events, summary")
tagsstringNeinTags as a JSON array of {key, value} objects (optional)

Ausgabe

ParameterTypBeschreibung
runIdstringThe globally unique ID of the launched materialization run

dagster_report_asset_materialization

Report an external (runless) materialization or observation for an asset.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for OSS / self-hosted)
assetKeystringJaSlash-delimited asset key to report against, e.g. "my_asset" or "raw/events"
eventTypestringNeinEvent type to report: ASSET_MATERIALIZATION (default) or ASSET_OBSERVATION
partitionKeysstringNeinComma-separated partition keys to report against (optional)
descriptionstringNeinHuman-readable description for the reported event (optional)

Ausgabe

ParameterTypBeschreibung
successbooleanWhether the event was reported successfully
assetKeystringSlash-joined asset key the event was reported against

dagster_wipe_asset

DESTRUCTIVE: permanently wipes ALL materialization history (every partition) for an asset. This cannot be undone.

Eingabe

ParameterTypErforderlichBeschreibung
hoststringJaDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNeinDagster+ API token (leave blank for OSS / self-hosted)
assetKeystringJaSlash-delimited asset key to wipe, e.g. "my_asset" or "raw/events"

Ausgabe

ParameterTypBeschreibung
successbooleanWhether the asset was wiped successfully
assetKeystringSlash-joined asset key that was wiped

On this page