cURL
curl --request GET \ --url https://www.orgo.ai/api/computers/{id}/stream/status \ --header 'Authorization: Bearer <token>'
{ "status": "idle" }
# Check if streaming is active status = computer.stream_status() if status['status'] == 'streaming': print(f"Stream active since: {status['start_time']}") print(f"Process ID: {status['pid']}") elif status['status'] == 'idle': print("No active stream")
{ "status": "streaming", "start_time": "2024-01-20T10:30:00Z", "pid": 12345 }
{ "status": "terminated", "message": "Stream process was terminated unexpectedly" }
idle
streaming
terminated
API key authentication. Format: sk_live_...
Stream status