Configuration

An Answers app stores presentation and policy. It does not store a question, a file, or a provider key. POST /api/v1/ask reads the published revision. There is no config fetch route.

  • assistantLabel and greeting
  • theme: light or dark
  • presentation: launcher (default), section, modal, or window
  • fallbackMessage when the outcome is unanswered
  • allowedOrigins
  • retainHistory
  • publicAnsweringEnabled
  • allowCodeExcerpts (default false). When false, answers describe steps in words and link the docs page. When true, an answer may include code copied exactly from an indexed page; new code is never written.

publicAnsweringEnabled: false rejects new asks and leaves sources and history in place. Save changes with update_answers_draft, then publish_answers_app. See revisions.

Related: Origins · Modes