AI 服务/Agent
中止会话
Changed on中止进行中或等待中的 Agent 运行。重复调用是安全的。成功后会话状态变为 cancelled。
post/api/ai/agent/sessions/{sessionId}/abort
Request
- Base URLhttps://aitoearn.cn
- AuthAPI key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
sessionIdstring required
会话 ID。
Response
请求已被服务处理。业务是否成功以响应体 code === 0 为准。
Changes
- info
endpoint added
- info