End an agent’s follow-up
Ends one follow-up by its id (followUp.id on a listAssistantSubsessions row), as stopAssistantSubsession does, including one whose first check has not run and so has no session yet: no further checks run, and a running check is stopped. parentSessionId is the conversation its row is listed under; only callers who may continue that conversation may end it. The answer is stopped, or not_running when it had already ended; a follow-up that conversation does not hold answers 404. Answers 409 DAEMON_FEATURE_MISSING when the agent’s daemon cannot end a follow-up by its id, and 409 ASSISTANT_MODE_OFF for an agent outside assistant mode whose daemon serves only assistant mode’s.
授权
bearerAuth 位置: header
路径参数
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuid1 <= length <= 1024请求主体
application/json
TypeScript 定义
在 TypeScript 中使用 request body 类型。
响应主体
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/orgs/string/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/assistant/follow-ups/string/stop" \ -H "Content-Type: application/json" \ -d '{ "parentSessionId": "string" }'{ "result": "stopped"}