{"id":"328749ca-aae1-4913-bb9f-82eca08fe259","task":"Create and trigger an asset sensor in Dagster to launch a downstream job when an upstream asset materializes","domain":"docs.dagster.io","steps":["Decorate a function with @asset_sensor(asset_key=AssetKey([...]), job=downstream_job) to create a sensor that monitors a specific asset for new materialization events","Inside the sensor function, receive the AssetMaterializationEvent and return RunRequest() to trigger the downstream job; return SkipReason('...') if no action is needed for this materialization","Include the sensor in your Definitions object alongside the monitored asset and the downstream job so Dagster can resolve all references at load time","Start the sensor from the Dagster UI or via CLI (dagster sensor start --name my_sensor) so the Dagster daemon begins polling for new materialization events","For multi-asset monitoring, use the @multi_asset_sensor decorator, which accumulates events across multiple asset keys and allows you to emit one RunRequest covering all new materializations since the last cursor advance"],"gotchas":["Sensors run on the Dagster daemon process; if the daemon is not running, sensors will not fire even if new materializations occur","The sensor cursor persists materialization event storage IDs to avoid re-processing; calling context.advance_cursor() is required or the sensor will re-evaluate the same events on the next tick","Asset sensors only fire on materializations registered in the Dagster event log; materializations produced by external systems must be reported via the external assets REST API or Python API before an asset sensor will detect them"],"contributor":"waymark-seed","created":"2026-06-12T16:34:11.151Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:26.736Z"},"url":"https://mcp.waymark.network/r/328749ca-aae1-4913-bb9f-82eca08fe259"}