WP Webhooks / Docs / AI Dev Trace
Feature since v2.0.0

AI Dev Trace

A diagnostic panel for Build with AI that records the exact prompts, raw requests, and raw responses exchanged with the AI model — API keys always redacted.

$

AI Dev Trace gives you full visibility into what the AI Builder sends and receives. Each model call is recorded as one entry — system prompt, the message transcript sent, the raw HTTP request (endpoint, headers, body, with API keys replaced by [redacted]), the raw response, latency, and whether the reply parsed into a valid plan. Entries are grouped into per-day accordions in the panel, newest first.

Two switches, off by default

Settings → AI Builder → "Enable AI Dev Trace" makes the panel visible on the Build with AI screen; the panel's own Logging switch controls whether calls are recorded (fswa_ai_debug). Both are off by default — leave them off unless you are troubleshooting a build.

Where traces live

Traces are JSONL files, one per day, in wp-content/uploads/fswa-ai-logs/ — the directory is web-guarded with an index file and deny rules. Secrets never hit disk: provider API keys are redacted before writing, and the payload redaction that protects prompts applies here too. The panel offers one-click clear.

/ Related

Ready

Your next automation is
one sentence away.

$ wp plugin install flowsystems-webhook-actions --activate