Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
自然语言 → deck/doc/sheet,流式 NDJSON。
doc
POST /api/agent Content-Type: application/json Authorization: Bearer plain_pk_xxx (或 cookie session) { "prompt": "为投资人讲清楚 Q3 增长的 8 页 deck", "kind": "deck", "current": null, "workspace": [], "history": [], "mode": "brief" }
prompt
kind
current
workspace
history
mode
Content-Type: application/x-ndjson
{"type":"phase","phase":"routing"} {"type":"intent","intent":{"action":"generate","target":"deck"}} {"type":"phase","phase":"generating"} {"type":"reasoning","source":"slide","text":"第 1 页:封面"} {"type":"reasoning","source":"slide","text":"第 2 页:hero question"} {"type":"doc","kind":"deck","source":"---\nmarp:true\n...","doc":{...}} {"type":"phase","phase":"done"}
phase
intent
reasoning
delta
patch
error
{ code, message }
POST /api/agent/demo