aws, cloudflare, gcp, notion, planetscale, railway, render,
sentry, and vercel.
Operations
For a Sentry installation with more than one project, the OAuth callback returns a short-lived,
sealed selection token to the dashboard. Use
POST /v1/projects/{project_id}/providers/sentry/selection-projects
to list the server-verified choices, then use POST /v1/projects/{project_id}/providers/sentry/select-project
to complete setup. The token stays project-bound and expires; clients must not ask users to type a
project slug that the server did not list.
Create a setup plan
oauth_redirect: open the returned provider consent URL.provider_installation: open the returned provider-app installation URL.cloudformation_launch: open the AWS CloudFormation launch URL.api_key_form: collect the listed fields over a secure connection.
settings can narrow the target, such as a provider project, Worker, service, or
environment. Use the matching provider guide for supported settings.
Connection state
A connection can beawaiting_authorization, provisioning, connected, reconnect_required, or
failed. A successful response includes the provider, authorization mode, external account label,
status, last error, and update time. It does not include provider tokens.
Provider health and resources
GET .../provider-health returns one entry for each connected provider in providers. Each entry
has the connection status, the worst freshness of its streams, and a streams list. Each stream
has:
An
auth or permission error needs a new connection.
GET .../provider-resources returns resources: the zones, Workers, databases, branches, and
services that Squasher found. Each resource has provider, kind, name, parent_id,
freshness, observed_at, a few key metrics (name, label, value, unit,
window_seconds), and the OpenTelemetry resource attributes that join it to its telemetry. Use
provider to list one provider.
Provider setup without a plan
POST .../provider-connections/planetscaletakesorganization,service_token_id, andservice_token. Squasher checks the token, then returns theconnection, the number ofdatabases, and thewebhook_urlfor deploy events. See PlanetScale.PUT .../provider-connections/planetscale/webhooktakes the webhook signingsecret(8 to 512 characters) and returnsconfiguredandwebhook_url.PUT .../provider-connections/cloudflare/analyticstakesenabledand returnsenabledand therequired_permissionsof the pull. See Cloudflare analytics metrics.GET .../cloudflare/accountslists the accounts granted by OAuth. Pass the selectedaccount_idtoGET .../cloudflare/workers?account_id=..., then send that account and one or moreworker_idstoPOST .../cloudflare/provision.
Repair and disconnect
Repair can create, update, or remove Squasher-owned resources at the provider. Call it only through an explicit dashboard or authenticated API action. Disconnect removes the Squasher-owned remote resources and revokes stored access when the provider supports revocation. It does not remove unrelated provider resources.API, CLI, and MCP limits
- The public API exposes all operations in the table. OAuth and provider installations still require a person to complete the returned browser flow.
squasher integrations connectopens the browser flow for GitHub, Linear, Slack, Railway, and Vercel, and returns to the CLI when it finishes. Usesquasher integrations connect-planfor other interactive providers, then use the Cloudflare account and Worker commands to finish setup.squasher integrations list,readiness,get,reconcile, anddisconnectcover generic connection control.cloudflare-accounts,cloudflare-workers, andcloudflare-provisioncomplete Cloudflare setup. Risky commands ask for confirmation unless--yesis supplied.- MCP exposes provider discovery, connection reads, readiness, provider health and resources, repair, disconnect, Cloudflare account and Worker selection, Cloudflare provisioning, and the analytics switch. Write, dangerous, and destructive operations still require the MCP session’s access and approval gates. Credential-bearing setup operations remain API or dashboard actions.