通过 SSE(Server-Sent Events) 流式返回实时日志,连接断开后任务仍继续运行。
api-token<token>
32位令牌,在控制面板《个人设置 - 令牌管理》页面获取
位置: header
TypeScript 类型定义
在 TypeScript 中使用 request body 类型。
curl -X POST "http://localhost:5678/api/open/exec/v1/file/stream" \ -H "Content-Type: application/json" \ -d '{ "path": "string" }'