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.
Authorization
bearerAuth In: header
Path Parameters
^([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 <= 512Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response 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"}