Self-healing — heal a flow against your OpenAPI spec

Detect where your flow has drifted from the API's spec — moved paths, changed methods, new required params — and apply the fixes in one click.

APIs move. A path gets renamed, a method changes, a query parameter becomes required — and a test that was green last month fails for reasons that have nothing to do with bugs. Healing compares your flow’s request nodes against your OpenAPI/Swagger spec and proposes concrete fixes.

Two things worth knowing up front:

  • It’s deterministic — a structural comparison, not a model guessing. The same flow and spec always produce the same findings.
  • It’s fully offline and needs no AI key.

Healing a flow

  1. Open the flow and click Heal… in the toolbar (next to Run; disabled while the file has a parse error).
  2. Pick your spec — the modal lists the .json/.yaml files in your workspace. Change spec lets you switch afterwards.
  3. Read the report. The summary line says how many request nodes match the spec; each finding names the node, what drifted, and the message — e.g. /users/7 doesn’t exist in the spec; closest match is /users/{id}.
  4. Click Apply on a finding to rewrite that node’s config with the fix. The check runs again immediately, so the list updates as you go.

Nothing is modified until you click Apply, and only the node in that finding changes.

What it detects

FindingMeaning
path-not-foundThe URL’s path isn’t in the spec; the closest spec path is suggested.
method-changedThe path exists, but with a different HTTP method.
missing-required-queryThe spec requires a query parameter the node doesn’t send.
missing-required-headerThe spec requires a header the node doesn’t send.
deprecatedThe operation is marked deprecated (informational — no fix to apply).

Make it a habit

Keep the spec in the workspace (an openapi.yaml next to your flows) and heal when the backend ships changes — it turns “why is CI red” archaeology into a one-minute checklist. Agents can run the same check headlessly via the MCP server’s detect_drift tool.