AptlyStar

Dagster

Orchestrate data pipelines and manage job runs with Dagster

Instrucciones de uso

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

Herramientas

dagster_launch_run

Launch a job run on a Dagster instance.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3000\)
apiKeystringNoDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringSíRepository location (code location) name
repositoryNamestringSíRepository name within the code location
jobNamestringSíName of the job to launch
runConfigJsonstringNoRun configuration as a JSON object (optional)
tagsstringNoTags as a JSON array of {key, value} objects (optional)

Salida

ParámetroTipoDescripción
runIdstringThe globally unique ID of the launched run

dagster_get_run

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

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3000\)
apiKeystringNoDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringSíThe ID of the run to retrieve

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringSíThe ID of the run to fetch logs for
afterCursorstringNoCursor for paginating through log events (from a previous response)
limitnumberNoMaximum number of log events to return

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
jobNamestringNoFilter runs by job name (optional)
statusesstringNoComma-separated run statuses to filter by, e.g. "SUCCESS,FAILURE" (optional)
limitnumberNoMaximum number of runs to return (default 20)

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
parentRunIdstringSíThe ID of the run to reexecute
strategystringSíReexecution strategy: ALL_STEPS reruns everything, FROM_FAILURE resumes from failed steps, FROM_ASSET_FAILURE resumes from failed assets

Salida

ParámetroTipoDescripción
runIdstringThe ID of the newly launched reexecution run

dagster_terminate_run

Terminate an in-progress Dagster run.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringSíThe ID of the run to terminate

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringSíThe ID of the run to delete

Salida

ParámetroTipoDescripción
runIdstringThe ID of the deleted run

dagster_list_schedules

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

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringSíRepository location (code location) name
repositoryNamestringSíRepository name within the code location
scheduleStatusstringNoFilter schedules by status: RUNNING or STOPPED (omit to return all)

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringSíRepository location (code location) name
repositoryNamestringSíRepository name within the code location
scheduleNamestringSíName of the schedule to start

Salida

ParámetroTipoDescripción
idstringInstigator state ID of the schedule
statusstringUpdated schedule status (RUNNING or STOPPED)

dagster_stop_schedule

Disable (stop) a running schedule in Dagster.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
instigationStateIdstringSíInstigationState ID of the schedule to stop — available from dagster_list_schedules output

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringSíRepository location (code location) name
repositoryNamestringSíRepository name within the code location
sensorStatusstringNoFilter sensors by status: RUNNING or STOPPED (omit to return all)

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringSíRepository location (code location) name
repositoryNamestringSíRepository name within the code location
sensorNamestringSíName of the sensor to start

Salida

ParámetroTipoDescripción
idstringInstigator state ID of the sensor
statusstringUpdated sensor status (RUNNING or STOPPED)

dagster_stop_sensor

Disable (stop) a running sensor in Dagster.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
instigationStateIdstringSíInstigationState ID of the sensor to stop — available from dagster_list_sensors output

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for OSS / self-hosted)
prefixstringNoSlash-delimited asset key prefix to filter by, e.g. "raw" or "raw/events" (optional)
cursorstringNoAsset key cursor from a previous response, for pagination (optional)
limitnumberNoMaximum number of assets to return per page (default 100)

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for OSS / self-hosted)
assetKeystringSíSlash-delimited asset key, e.g. "my_asset" or "raw/events"

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for OSS / self-hosted)
repositoryLocationNamestringSíRepository location (code location) name
repositoryNamestringSíRepository name within the code location
jobNamestringSíAsset job that contains the assets, e.g. "__ASSET_JOB" or a named asset job
assetSelectionstringSíComma- or newline-separated asset keys to materialize, each slash-delimited (e.g. "raw/events, summary")
tagsstringNoTags as a JSON array of {key, value} objects (optional)

Salida

ParámetroTipoDescripción
runIdstringThe globally unique ID of the launched materialization run

dagster_report_asset_materialization

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

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for OSS / self-hosted)
assetKeystringSíSlash-delimited asset key to report against, e.g. "my_asset" or "raw/events"
eventTypestringNoEvent type to report: ASSET_MATERIALIZATION (default) or ASSET_OBSERVATION
partitionKeysstringNoComma-separated partition keys to report against (optional)
descriptionstringNoHuman-readable description for the reported event (optional)

Salida

ParámetroTipoDescripción
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.

Entrada

ParámetroTipoObligatorioDescripción
hoststringSíDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringNoDagster+ API token (leave blank for OSS / self-hosted)
assetKeystringSíSlash-delimited asset key to wipe, e.g. "my_asset" or "raw/events"

Salida

ParámetroTipoDescripción
successbooleanWhether the asset was wiped successfully
assetKeystringSlash-joined asset key that was wiped

On this page