乐居 Agent API

App 通过 HTTPS 调用云端智能体,云端只生成待确认计划或规范化指令,写入仍由用户在 App 内确认。

接口

  1. GET /api/health服务健康检查。
  2. GET /api/agent/capabilities查询当前云端能力。
  3. POST /api/agent/analyze输入 instruction,返回规范化指令或计划。
  4. POST /api/agent/chat兼容 OpenAI/Agnes choices.message.content 外层格式。
{
  "instruction": "新增一台电视,放客厅电视柜,估值3000"
}