Deterministic create — caller supplies the full graph ({ name, triggerEventId, nodes, connections }). Returns the canonical AutomationRow.
AI authoring is intentionally not part of the public surface — chain POST /v1/emails { emailType: "automation", prompt } (×N) first to mint the bodies that sendEmail nodes reference, then POST the explicit graph here.
Dry-run — add dryRun: true to validate-without-persist; returns { valid, blockers[], warnings[], nodeCounts }.
Documentation Index
Fetch the complete documentation index at: https://docs.brew.new/llms.txt
Use this file to discover all available pages before exploring further.
Send your Brew API key as Authorization: Bearer brew_xxx.
Optional idempotency key for safe retries. Reusing the same key with the same request body returns the original response for 24 hours.
1 - 100Dry-run result (no Convex writes). valid indicates whether the graph would publish cleanly.