Skip to content

CLI: Actions

Generated from deedglass help --json (CLI 0.1.0-dev). Global flags and exit codes are on the CLI reference page.

Send a test action through Deedglass.

Terminal window
deedglass act <tool> [--args '{"k":"v"}'] [--mode gateway|proxy] [--wait 60s] [--idempotency-key K] [--json]

Add --json for machine-readable output.

List actions.

Terminal window
deedglass actions list [--agent agt_…] [--tool stripe.*] [--state …] [--decision …] [--verdict MISMATCH] [--level L2] [--since 1h] [--q text] [--limit 25] [--cursor …] [--json] [--follow] [--connector orders]
Flag Type Default What it does
--agent string an agent id (agt_…)
--connector string only this connector’s tools (.*)
--cursor string next_cursor from the previous page
--decision string comma list: allow, deny, require_approval
--follow bool keep printing actions as they are decided and sealed (Ctrl-C to stop)
--level string comma list: L0, L1, L2
--limit int 25 page size, 1 to 100
--on-behalf-of string an on-behalf-of reference
--q string text in the tool name or error code
--since duration 0s only actions newer than this (1h, 30m)
--state string comma list of states
--tool string a tool name, or a glob with * (stripe.*)
--verdict string comma list: VERIFIED, MISMATCH, UNVERIFIABLE

Add --json for machine-readable output.

Show one action, its events and its Proven diff.

Terminal window
deedglass actions show <act_…> [--wait] [--diff] [--json]

Add --json for machine-readable output.

Cancel a pending action.

Terminal window
deedglass actions cancel <act_…> [--json]

Add --json for machine-readable output.

Approve a pending action.

Terminal window
deedglass approve <apr_…> --as <email> [--reason …] [--json]
Flag Type Default What it does
--as string dev only: the member who decides (their email)
--reason string why (required to deny; the agent sees it)

Add --json for machine-readable output.

Deny a pending action.

Terminal window
deedglass deny <apr_…> --as <email> --reason "…" [--json]
Flag Type Default What it does
--as string dev only: the member who decides (their email)
--reason string why (required to deny; the agent sees it)

Add --json for machine-readable output.

List approvals.

Terminal window
deedglass approvals list [--status pending] [--agent <name>] [--limit 25] [--json]
Flag Type Default What it does
--agent string an agent id or name
--limit int 25 at most this many (1 to 100)
--status string pending pending, approved, denied, expired, cancelled, or a comma-separated list

Add --json for machine-readable output.

Show one approval.

Terminal window
deedglass approvals show <apr_…> [--json]

Add --json for machine-readable output.

Show what an undo would change.

Terminal window
deedglass undo preview <act_…> [--allow-triggers] [--steps N] [--json]

Add --json for machine-readable output.

Undo an action.

Terminal window
deedglass undo run <act_…> --plan <sha256:…> --reason "…" [--allow-triggers] [--wait 25s] [--json]

Add --json for machine-readable output.

Watch a database while a command runs.

Terminal window
deedglass observe run --connector <name> [--label "…"] [--agent <name>] -- <command …>

Add --json for machine-readable output.

Open a watched session.

Terminal window
deedglass observe start --connector <name> [--label "…"] [--agent <name>] [--json]

Add --json for machine-readable output.

Close a watched session.

Terminal window
deedglass observe stop <obs_…> [--wait=false] [--json]

Add --json for machine-readable output.

List watched sessions.

Terminal window
deedglass observe list [--connector <name>] [--state sealed] [--caught] [--limit 20] [--json]

Add --json for machine-readable output.

Show a session or print its undo SQL.

Terminal window
deedglass observe show <obs_…> [--undo-sql] [--json]

Add --json for machine-readable output.

Undo a whole session in one step (Pro).

Terminal window
deedglass observe undo <obs_…> --reason "…" [--allow-triggers] [--wait 25s] [--json]

Add --json for machine-readable output.

Leave a transaction out of an undo.

Terminal window
deedglass observe exclude <obs_…> <dtx_…> [--include] [--json]

Add --json for machine-readable output.

Add a webhook endpoint.

Terminal window
deedglass webhooks create --url <url> --events approval.requested,approval.decided [--description …] [--json]
Flag Type Default What it does
--description string a note for people, at most 200 characters
--events string comma-separated event types, for example approval.requested,approval.decided
--url string the endpoint (https; http://localhost in dev)

Add --json for machine-readable output.

List webhook endpoints.

Terminal window
deedglass webhooks list [--json]

Add --json for machine-readable output.

Send a test event.

Terminal window
deedglass webhooks test <whk_…> [--json]

Add --json for machine-readable output.

Remove a webhook endpoint.

Terminal window
deedglass webhooks delete <whk_…> [--json]

Add --json for machine-readable output.