ConstDELETE /api/debug/traces — empties the trace buffer.
POST /api/routes — creates a new route; returns the API's JSON acknowledgement.
GET /api/debug/config — effective debug settings; answers even when debug is disabled.
DELETE /api/policies/{name} — removes the named policy; returns the API's JSON acknowledgement.
DELETE /api/routes/{name} — removes the named route; returns the API's JSON acknowledgement.
GET /api/config/export — returns the live in-memory config (routes + policies) as a YAML string.
GET /api/policies/{name} — returns the named policy.
GET /api/routes/{name} — returns the named route.
GET /api/debug/traces/{id} — one trace with per-step computed changes.
GET /api/plugins — returns the catalog of available plugin types, unwrapped from { plugins: [...] }.
GET /api/policies — returns all configured policies.
GET /api/routes — returns all configured routes.
GET /api/scripts — returns scripted-plugin files found on the gateway host, unwrapped from { scripts: [...] }.
GET /api/debug/traces — recorded traces, newest first, unwrapped from { traces: [...] }.
POST /api/config/reload — makes the gateway re-read gateway.yaml from disk; returns the API's JSON acknowledgement.
POST /api/debug/sandbox — runs ad-hoc nodes or a named policy against a synthetic context.
GET /api/status — returns gateway version plus route and policy counts.
PUT /api/policies/{name} — upserts the named policy (also used to create new policies); returns the API's JSON acknowledgement.
PUT /api/routes/{name} — replaces the named route; returns the API's JSON acknowledgement.
The gateway Admin API surface used by the editor.
All methods return promises and throw on non-2xx responses; mutating calls trigger route/policy revalidation on the gateway side.