public-api

Public Content Diagnosis

摩擦點診斷狀態機(MCP 用)。

Actions:

  • start:開新 session,回 purpose_question。
  • submit_purpose:用戶選 A/B/C 後回 4 個深挖題。
  • submit_answers:收集 4 答案後回 hypothesis 模板(用戶預覽)。
  • confirm_hypothesis:用戶確認(可帶 modified_hypothesis),status 轉 confirmed。
  • get:查當前狀態(除錯用)。

Session_id 從 start 拿,後續呼叫帶著。跳步會 400。

post/api/v1/public/content-diagnosis

Request

  • Base URL: https://api.slidemaster.tw (the document declares no server; this is the origin it was published from)
  • URL: https://api.slidemaster.tw/api/v1/public/content-diagnosis
  • Auth: none declared

Headers

Authorizationstring nullable
X-API-Keystring nullable

Response

Successful Response

session_idstring required
status'purpose_pending' | 'purpose_classified' | 'questions_answered' | 'hypothesis_confirmed' required
purposestring nullable
promptstring nullable

給 LLM 逐字展示給用戶的問題 / 假設

questionsstring[] nullable
hypothesisobject nullable
answersstring[] nullable
next_action_hintstring

Changes

No recorded changes to this operation across all 1 revision of this API.