cURL
curl --request POST \ --url https://app.all-hands.dev/api/conversations/{conversation_id}/stop \ --header 'X-Session-API-Key: <api-key>'
{ "status": "<string>", "conversation_id": "<string>", "message": "<string>", "conversation_status": "STARTING" }
Stop an agent loop for a conversation.
This endpoint calls the conversation_manager’s close_session method to stop a conversation.
Successful Response
The response is of type object.
object
Was this page helpful?