POST
/
api
/
chat

リクエスト

message
string
required
修正指示(自然言語)
sitePath
string
required
更新対象のサイトパス

Example Request

curl -X POST https://app.hirameki-web.com/api/chat \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{
    "message": "ヘッダーの色を青に変更してください",
    "sitePath": "u-user123-1.sunny-cafe"
  }'

レスポンス

{
  "success": true,
  "reply": "ヘッダーの色を青に変更しました。"
}