← All APIs

support-agent

POST https://zzquuspwxqwducijadzl.supabase.co/functions/v1/support-agent

Free L1 ops assistant on saintsecured.com. Catalog-aware quoting and general IT/security Q&A with a per-visitor message cap.

Authentication

Supabase anon key in apikey and Authorization: Bearer.

Actions

action: "chat"

Requires visitor_id (UUID) and messages (up to 8 turns; last must be user). Returns reply, remaining, actions (estimate add-to-cart hints).

action: "capture"

Email capture when cap is reached. Requires visitor_id and email; optional name, company.

Rate limit

HTTP 429 when the free cap is reached (capped: true).

OpenAPI: /openapi/support-agent.yaml