Skip to main content
最重要的端点。一条 prompt 进,流式 events 出,最后一个 doc event 带完整 source —— 把 chat 变成一份可编辑、可追溯、可分享的活的 Artifact。内容不该从选 PPT / Doc / Sheet 开始:同一份源,可以长出高管 Deck、研究 Report、实时 Dashboard 等多种活的表达。

Request

Response

Content-Type: application/x-ndjson — 一行一个 event:

Demo 端点(公开,限流)

POST /api/agent/demo — 同样 schema 但:
  • 无需 auth
  • 5 / 24h / IP 限流
  • 仅 generate(不接 current/edit)
  • prompt 上限 200 字