Skip to contents

In-step helpers

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

output()
Emit a daggle output marker
run_id()
Get the current daggle run ID
dag_name()
Get the current DAG name
run_dir()
Get the current run directory
get_matrix()
Get a matrix parameter value
get_output()
Read an output from a completed upstream step

DAG management

List and inspect DAGs.

list_dags()
List all DAGs
get_dag()
Get details for a single DAG

Run management

Trigger, inspect, and cancel DAG runs.

trigger()
Trigger a new DAG run
list_runs()
List runs for a DAG
get_run()
Get details for a specific run
get_outputs()
Get outputs for a run
get_step_log()
Get log output for a step
cancel_run()
Cancel a running DAG run

Approval gates

Approve or reject waiting steps.

approve()
Approve a waiting step
reject()
Reject a waiting step

Project management

Register and unregister projects.

list_projects()
List registered projects
register_project()
Register a project
unregister_project()
Unregister a project

System

Health checks, cleanup, and diagnostics.

health()
Check API health
cleanup()
Clean up old runs
cli_version()
Get the daggle CLI version