AgentKit
DocsKitsCLI ReferenceDesktop App

insights

ak insights consent

Inspect or change local measurement consent

Use ak insights consent for the operation described below. The command help records its arguments, effects, and options.

Command contract

Inspect or change local measurement consent

Synopsis

Inspect or change local measurement consent. Unknown measurements remain unavailable; invocation success is not quality.

Effects: Writes consent only for explicitly supplied flags. Sharing does not transmit data.

Exit status: 0 success 1 invalid input or unavailable local data 2 invalid arguments

ak insights consent [flags]

Examples

  ak insights consent --collection=true --json
  ak insights consent --help

Options

      --collection       Enable or disable local collection
  -h, --help             help for consent
      --json             Emit machine-readable JSON (implies --no-interactive)
      --no-interactive   Disable interactive prompts (CI-safe)
  -q, --quiet            Suppress non-error output on stderr
      --sharing          Consent to voluntary allowlisted aggregate sharing; no upload is performed
  -V, --verbose          Extra diagnostic output on stderr (loses to --quiet)
  -y, --yes              Assume yes for all prompts

SEE ALSO