Skip to contents

In-step helpers

Functions for use inside R steps executed by daggle. No network access or daggle binary needed.

daggle_output()
Emit a daggle output marker
daggle_run_id()
Get the current daggle run ID
daggle_dag_name()
Get the current DAG name
daggle_run_dir()
Get the current run directory
daggle_get_matrix()
Get a matrix parameter value
daggle_get_output()
Read an output from a completed upstream step
daggle_summary_md()
Emit a markdown summary for the current step
daggle_meta_numeric()
Emit a numeric metadata value
daggle_meta_text()
Emit a text metadata value
daggle_meta_table()
Emit a table metadata value
daggle_meta_image()
Emit an image metadata reference
daggle_validation()
Emit a validation result

DAG management

List and inspect DAGs.

daggle_list_dags()
List all DAGs
daggle_get_dag()
Get details for a single DAG
daggle_plan()
Show execution plan with cache status
daggle_get_impact()
Get downstream impact of a DAG
daggle_init_dag()
Scaffold a new DAG YAML under .daggle/

Run management

Trigger, inspect, and cancel DAG runs.

daggle_trigger()
Trigger a new DAG run
daggle_list_runs()
List runs for a DAG
daggle_get_run()
Get details for a specific run
daggle_get_outputs()
Get outputs for a run
daggle_get_step_log()
Get log output for a step
daggle_cancel_run()
Cancel a running DAG run
daggle_compare_runs()
Compare two runs
daggle_list_artifacts()
List artifacts for a run
daggle_get_summaries()
Get step summaries for a run
daggle_get_metadata()
Get step metadata for a run
daggle_get_validations()
Get validation results for a run
daggle_list_annotations()
List annotations for a run
daggle_add_annotation()
Add an annotation to a run

Approval gates

Approve or reject waiting steps.

daggle_approve()
Approve a waiting step
daggle_reject()
Reject a waiting step

Schedules

List and manage runtime schedules.

daggle_list_schedules()
List schedules for a DAG
daggle_add_schedule()
Add a runtime schedule to a DAG
daggle_remove_schedule()
Remove a runtime schedule from a DAG
daggle_set_schedule_enabled()
Enable or disable a schedule

Archives

Create, verify, and download tamper-evident run archives.

daggle_archive_info()
Create and describe a tamper-evident run archive
daggle_verify_archive()
Verify integrity of a run archive
daggle_archive_run()
Download a tamper-evident run archive

Project management

Register and unregister projects.

daggle_list_projects()
List registered projects
daggle_register_project()
Register a project
daggle_unregister_project()
Unregister a project

System

Health checks, cleanup, and diagnostics.

daggle_health()
Check API health
daggle_cleanup()
Clean up old runs
daggle_cli_version()
Get the daggle CLI version
daggle_lint()
Run daggle lint on a DAG