Bulk Delete Threads
Delete multiple threads and optionally their extracted memories.
Query Parameters
cascade_delete_memories?boolean
Delete extracted memories
Default
falseRequest Body
application/json
thread_ids*Thread Ids
List of thread IDs to delete
Response Body
application/json
application/json
curl -X DELETE "http://127.0.0.1:14242/threads/bulk" \ -H "Content-Type: application/json" \ -d '{ "thread_ids": [ "string" ] }'{
"message": "string",
"deleted_count": 0,
"failed_count": 0,
"total_deleted_messages": 0,
"total_deleted_memories": 0,
"cascade_deletion": false,
"results": [
{}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}