AptlyStar

Dagster

Orchestrate data pipelines and manage job runs with Dagster

使用方法

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

ツール

dagster_launch_run

Launch a job run on a Dagster instance.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3000\)
apiKeystringいいえDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringはいRepository location (code location) name
repositoryNamestringはいRepository name within the code location
jobNamestringはいName of the job to launch
runConfigJsonstringいいえRun configuration as a JSON object (optional)
tagsstringいいえTags as a JSON array of {key, value} objects (optional)

出力

パラメータ型説明
runIdstringThe globally unique ID of the launched run

dagster_get_run

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

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3000\)
apiKeystringいいえDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringはいThe ID of the run to retrieve

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringはいThe ID of the run to fetch logs for
afterCursorstringいいえCursor for paginating through log events (from a previous response)
limitnumberいいえMaximum number of log events to return

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
jobNamestringいいえFilter runs by job name (optional)
statusesstringいいえComma-separated run statuses to filter by, e.g. "SUCCESS,FAILURE" (optional)
limitnumberいいえMaximum number of runs to return (default 20)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
parentRunIdstringはいThe ID of the run to reexecute
strategystringはいReexecution strategy: ALL_STEPS reruns everything, FROM_FAILURE resumes from failed steps, FROM_ASSET_FAILURE resumes from failed assets

出力

パラメータ型説明
runIdstringThe ID of the newly launched reexecution run

dagster_terminate_run

Terminate an in-progress Dagster run.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringはいThe ID of the run to terminate

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
runIdstringはいThe ID of the run to delete

出力

パラメータ型説明
runIdstringThe ID of the deleted run

dagster_list_schedules

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

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringはいRepository location (code location) name
repositoryNamestringはいRepository name within the code location
scheduleStatusstringいいえFilter schedules by status: RUNNING or STOPPED (omit to return all)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringはいRepository location (code location) name
repositoryNamestringはいRepository name within the code location
scheduleNamestringはいName of the schedule to start

出力

パラメータ型説明
idstringInstigator state ID of the schedule
statusstringUpdated schedule status (RUNNING or STOPPED)

dagster_stop_schedule

Disable (stop) a running schedule in Dagster.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
instigationStateIdstringはいInstigationState ID of the schedule to stop — available from dagster_list_schedules output

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringはいRepository location (code location) name
repositoryNamestringはいRepository name within the code location
sensorStatusstringいいえFilter sensors by status: RUNNING or STOPPED (omit to return all)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
repositoryLocationNamestringはいRepository location (code location) name
repositoryNamestringはいRepository name within the code location
sensorNamestringはいName of the sensor to start

出力

パラメータ型説明
idstringInstigator state ID of the sensor
statusstringUpdated sensor status (RUNNING or STOPPED)

dagster_stop_sensor

Disable (stop) a running sensor in Dagster.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for Dagster OSS or when not using Dagster+)
instigationStateIdstringはいInstigationState ID of the sensor to stop — available from dagster_list_sensors output

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for OSS / self-hosted)
prefixstringいいえSlash-delimited asset key prefix to filter by, e.g. "raw" or "raw/events" (optional)
cursorstringいいえAsset key cursor from a previous response, for pagination (optional)
limitnumberいいえMaximum number of assets to return per page (default 100)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for OSS / self-hosted)
assetKeystringはいSlash-delimited asset key, e.g. "my_asset" or "raw/events"

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for OSS / self-hosted)
repositoryLocationNamestringはいRepository location (code location) name
repositoryNamestringはいRepository name within the code location
jobNamestringはいAsset job that contains the assets, e.g. "__ASSET_JOB" or a named asset job
assetSelectionstringはいComma- or newline-separated asset keys to materialize, each slash-delimited (e.g. "raw/events, summary")
tagsstringいいえTags as a JSON array of {key, value} objects (optional)

出力

パラメータ型説明
runIdstringThe globally unique ID of the launched materialization run

dagster_report_asset_materialization

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

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for OSS / self-hosted)
assetKeystringはいSlash-delimited asset key to report against, e.g. "my_asset" or "raw/events"
eventTypestringいいえEvent type to report: ASSET_MATERIALIZATION (default) or ASSET_OBSERVATION
partitionKeysstringいいえComma-separated partition keys to report against (optional)
descriptionstringいいえHuman-readable description for the reported event (optional)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
hoststringはいDagster host URL (e.g., https://myorg.dagster.cloud/prod or http://localhost:3001\)
apiKeystringいいえDagster+ API token (leave blank for OSS / self-hosted)
assetKeystringはいSlash-delimited asset key to wipe, e.g. "my_asset" or "raw/events"

出力

パラメータ型説明
successbooleanWhether the asset was wiped successfully
assetKeystringSlash-joined asset key that was wiped

On this page