Skip to main content
Use the Struct CLI to inspect and configure the workspace from your terminal. Commands run with the permissions of the active login.
Give your agent the task and the workspace you intend to use. Switch to For agents for the complete command reference, or use it directly from your terminal.

Poll native firings

Run struct monitors firings --json to read open native firings across the workspace, including monitors with no delivery destinations. Follow hasMore with --page and track processed firing IDs. For recent history on one monitor, use struct monitors firings <monitor-id> --all --since 2h --json.

Native telemetry and monitors

Instrument with Struct, then create a telemetry monitor. struct monitors manages Struct’s native rules over your telemetry; struct automonitors configures PR/deploy-driven Auto Monitors. Do not substitute one command family for the other.An activated, active unclaimed workspace can use telemetry and native-monitor commands. While paused, configuration and existing firing history remain readable; query/preview/chart and mutation operations require claim. Pre-claim monitors have no outbound notifications or background AI, and at most ten non-deleted monitors may exist (disabled ones count).Inspect actual query results. telemetry services reports record timestamps, not receipt times. A preview with query.error, a chart with queryError or a result with no matching data is not proof of a working monitor.

Observations (dynamic instrumentation)

Use Observations and the SIL reference to add permanent baseline captures or short-lived, auto-expiring triage overlays (target: {"kind": "overlay", "id": "..."}, completion: {"expiresAfterSeconds": ...}) on running Python services, verify live delivery and stop captures. Requires a claimed workspace with observability enabled.

Ingest and API keys

For claimed workspaces, key management requires an admin with struct login --admin. The temporary login created by struct init can manage the allowed keys before claim while active and activated; it does not need a separate human login for that step.Capture a new key directly into the application’s approved secret configuration. Never print it into a shared transcript; key lists return metadata and cannot recover the secret.

Auto Monitors and deployments

Use a claimed workspace and the Auto Monitors setup guide. These commands select settings, providers and routing; an actual PR and deploy are separate verification steps.Additional commands: struct automonitors settings set <provider> edits provider-specific fields; struct automonitors providers enable <provider> and disable <provider> choose providers; struct automonitors check <provider> checks readiness. Inspect each command’s --help and returned checks before enabling.struct deploys setup webhook configures the deployment signal. Your CI still sends the real event through the Deployments API; there is no struct deploys send command.Slack channel selection/filtering is available through the commands above. Non-Slack triage team/project selection and advanced sensitivity or incident-channel policies currently use their documented app controls. CLI setup does not imply every UI setting has a command.