Skip to main content
Use the Squasher CLI when a local script or coding agent needs an auditable terminal workflow. Run squasher <command> --help for exact flags in your installed version.

Auth and project scope

projects and services address the same service-project API. Most project-scoped commands accept --project <project_id>, SQUASHER_PROJECT_ID=<project_id>, or the active project saved with squasher projects use <project_id>. Use --profile <name> to run a command against a different local profile without switching the default. --api-key-env <variable> stores only an environment-variable reference for that profile; the selected variable wins over the shared SQUASHER_API_KEY, and a missing value fails closed instead of falling back to another profile’s key. Profile updates preserve omitted fields; use the explicit --clear-project, --clear-api-url, --clear-app-url, or --clear-api-key-env flag to remove one.

Observability

Use query-guide first when the next surface is unclear. Use observe summary, metrics inspect, dashboards inspect-query, and replays inspect when an agent needs a compact explanation before raw rows. For frontend performance checks, use vitals summary first, then vitals breakdown to segment Web Vitals by page path, country, region, city, browser, device type, campaign, user, trace, or metadata filters. The log-insights API requires from to be no later than to and limits the resolved window to 30 days. Invalid or oversized windows return HTTP 400; keep CLI or scripted investigations inside that bound.

Conversational debugging

Use --wait when you want the terminal to stream the assistant response. Without --wait, squasher ask stores the question in the shared thread and returns the thread/message IDs for handoff or later continuation. Threads are the shared investigation record for terminal, web, Slack, API, and MCP Code Mode workflows. Use threads list --incident <display-id-or-uuid> to find the durable conversation for one incident, including messages from its Slack war room. Human messages keep the sender metadata when it is available; assistant and system messages render with the Squasher avatar in the dashboard.

AI and hosted runs

Use --thread <thread_id> with agent-runs create or agent-runs list to connect execution to the shared investigation. agent-runs events returns an ordered, redacted lifecycle journal and a cursor that can be used to continue following a run. Creating or canceling hosted runs is a write action. Ask before running agent-runs create, agent-runs cancel, or fixes create.

Dashboards, alerts, monitors, and incidents

Ask before creates, updates, deletes, acknowledgements, resolves, or dashboard applies unless the user explicitly requested the change. For migrations from PagerDuty, Opsgenie, or Grafana OnCall, map the source rotation to squasher on-call create, verify with current and calendar, then ask before creating overrides or disabling the old schedule.

Status, replay, and release artifacts

Raw replay events and subscriber data can be sensitive. Keep queries bounded and ask before deletion.

Integrations and log connectors

data-sources is the agent-friendly wrapper for ingestion setup. It maps to managed log connectors today and gives agents a stable tree for future integrations. Provider actions such as restart, redeploy, unlink, key rotation, and connector deletion need confirmation.

Agent prompt