Answer a support request before the ticket is filed. This endpoint runs a non-streaming RAG pass and returns an answer plus a confidence-based deflection decision.
Auth: client key.

Request body

Response

How confidence is computed

Confidence derives from the top-3 RRF retrieval scores (normalised to [0, 1]), with a bonus for a strong single-chunk signal and a penalty when the LLM signals it could not find an answer in the documentation.
  • deflect: true → show the answer with a “That answered my question” dismissal and a “Continue to submit ticket” escape hatch.
  • deflect: false or request failure → submit the form normally. Never block the user.
  • Follow-up questions → call the chat endpoint with thread_id set to the returned conversation_id.
Every exchange is logged as a deflection trace and surfaces in analytics. Prefer zero code? Use the drop-in form deflector script.