Stop the active stream on a computer
cURL
curl --request POST \ --url https://www.orgo.ai/api/computers/{id}/stream/stop \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Stream stopped successfully" }
# Stop the active stream result = computer.stop_stream() if result['success']: print("Stream stopped successfully")
{ "success": false, "error": "No active stream to stop" }
# Complete streaming workflow try: # Start streaming computer.start_stream("my-connection") # Perform your automation computer.type("Running automated demo...") computer.bash("python my_script.py") # Always stop the stream computer.stop_stream() except Exception as e: # Ensure stream is stopped even on error computer.stop_stream() raise e
API key authentication using Bearer token
Computer/Project name (e.g., computer-abc123)
Stream stopped successfully
The response is of type object.
object