Using the API I can stop, pause and resume a bot that is already running using the request below:
POST: {{ControlRoomURL}}/activity/manage
{
"stop_executions": {
"execution_ids": [
"e5c8a404-0804-4448-ba89-56433db062c0",
"3a19281a-5484-43c2-922e-e06be87f99d1",
"e5c8a404-0804-4448-ba89-56433db062c0"
]
},
"pause_executions": {
"execution_ids": [
"e5c8a404-0804-4448-ba89-56433db062c0",
"3a19281a-5484-43c2-922e-e06be87f99d1",
"e5c8a404-0804-4448-ba89-56433db062c0"
]
},
"resume_executions": {
"execution_ids": [
"e5c8a404-0804-4448-ba89-56433db062c0",
"3a19281a-5484-43c2-922e-e06be87f99d1",
"e5c8a404-0804-4448-ba89-56433db062c0"
]
}
}
How can I send a bot that is in queue status to history? Similar to what can be done directly in the control room
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/b05215a5-790f-44af-9353-ff28a3f471d4.png)