AptlyStar

Dagster

Orchestrate data pipelines and manage job runs with Dagster

Instructions d'utilisation

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+.

Outils

dagster_launch_run

Launch a job run on a Dagster instance.

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3000\)
apiKeystringNonDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringOuiRepository location (code location) name
repositoryNamestringOuiRepository name within the code location
jobNamestringOuiName of the job to launch
runConfigJsonstringNonRun configuration as a JSON object (optional)
tagsstringNonTags as a JSON array of {key, value} objects (optional)

Sortie

ParamètreTypeDescription
runIdstringThe globally unique ID of the launched run

dagster_get_run

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

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3000\)
apiKeystringNonDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringOuiThe ID of the run to retrieve

Sortie

ParamètreTypeDescription
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.

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNonDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringOuiThe ID of the run to fetch logs for
afterCursorstringNonCursor for paginating through log events (from a previous response)
limitnumberNonMaximum number of log events to return

Sortie

ParamètreTypeDescription
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.

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNonDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
jobNamestringNonFilter runs by job name (optional)
statusesstringNonComma-separated run statuses to filter by, e.g. "SUCCESS,FAILURE" (optional)
limitnumberNonMaximum number of runs to return (default 20)

Sortie

ParamètreTypeDescription
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.

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNonDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)

Sortie

ParamètreTypeDescription
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.

Entrée

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

Sortie

ParamètreTypeDescription
runIdstringThe ID of the newly launched reexecution run

dagster_terminate_run

Terminate an in-progress Dagster run.

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNonDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringOuiThe ID of the run to terminate

Sortie

ParamètreTypeDescription
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.

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNonDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringOuiThe ID of the run to delete

Sortie

ParamètreTypeDescription
runIdstringThe ID of the deleted run

dagster_list_schedules

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

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNonDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringOuiRepository location (code location) name
repositoryNamestringOuiRepository name within the code location
scheduleStatusstringNonFilter schedules by status: RUNNING or STOPPED (omit to return all)

Sortie

ParamètreTypeDescription
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.

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNonDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringOuiRepository location (code location) name
repositoryNamestringOuiRepository name within the code location
scheduleNamestringOuiName of the schedule to start

Sortie

ParamètreTypeDescription
idstringInstigator state ID of the schedule
statusstringUpdated schedule status (RUNNING or STOPPED)

dagster_stop_schedule

Disable (stop) a running schedule in Dagster.

Entrée

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

Sortie

ParamètreTypeDescription
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.

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNonDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringOuiRepository location (code location) name
repositoryNamestringOuiRepository name within the code location
sensorStatusstringNonFilter sensors by status: RUNNING or STOPPED (omit to return all)

Sortie

ParamètreTypeDescription
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.

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNonDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringOuiRepository location (code location) name
repositoryNamestringOuiRepository name within the code location
sensorNamestringOuiName of the sensor to start

Sortie

ParamètreTypeDescription
idstringInstigator state ID of the sensor
statusstringUpdated sensor status (RUNNING or STOPPED)

dagster_stop_sensor

Disable (stop) a running sensor in Dagster.

Entrée

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

Sortie

ParamètreTypeDescription
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.

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNonDagster+ API token (leave blank for OSS / self-hosted)
prefixstringNonSlash-delimited asset key prefix to filter by, e.g. "raw" or "raw/events" (optional)
cursorstringNonAsset key cursor from a previous response, for pagination (optional)
limitnumberNonMaximum number of assets to return per page (default 100)

Sortie

ParamètreTypeDescription
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.

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNonDagster+ API token (leave blank for OSS / self-hosted)
assetKeystringOuiSlash-delimited asset key, e.g. "my_asset" or "raw/events"

Sortie

ParamètreTypeDescription
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.

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNonDagster+ API token (leave blank for OSS / self-hosted)
repositoryLocationNamestringOuiRepository location (code location) name
repositoryNamestringOuiRepository name within the code location
jobNamestringOuiAsset job that contains the assets, e.g. "__ASSET_JOB" or a named asset job
assetSelectionstringOuiComma- or newline-separated asset keys to materialize, each slash-delimited (e.g. "raw/events, summary")
tagsstringNonTags as a JSON array of {key, value} objects (optional)

Sortie

ParamètreTypeDescription
runIdstringThe globally unique ID of the launched materialization run

dagster_report_asset_materialization

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

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNonDagster+ API token (leave blank for OSS / self-hosted)
assetKeystringOuiSlash-delimited asset key to report against, e.g. "my_asset" or "raw/events"
eventTypestringNonEvent type to report: ASSET_MATERIALIZATION (default) or ASSET_OBSERVATION
partitionKeysstringNonComma-separated partition keys to report against (optional)
descriptionstringNonHuman-readable description for the reported event (optional)

Sortie

ParamètreTypeDescription
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.

Entrée

ParamètreTypeObligatoireDescription
hoststringOuiDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNonDagster+ API token (leave blank for OSS / self-hosted)
assetKeystringOuiSlash-delimited asset key to wipe, e.g. "my_asset" or "raw/events"

Sortie

ParamètreTypeDescription
successbooleanWhether the asset was wiped successfully
assetKeystringSlash-joined asset key that was wiped

On this page