| .. | ||
| __init__.py | ||
| browser_rpc_client.py | ||
| config.py | ||
| Dockerfile | ||
| main.py | ||
| README.md | ||
| requirements.txt | ||
| schemas.py | ||
| task_store.py | ||
Browser REST API
REST-обертка над browser-use RPC (http://browser:8787/run).
Endpoints
GET /healthPOST /api/browser/tasksGET /api/browser/tasks/{task_id}GET /api/browser/tasks/{task_id}/result
Пример
curl -sS -X POST http://localhost:8088/api/browser/tasks \
-H "Content-Type: application/json" \
-d '{"task":"Открой example.com и верни заголовок страницы","timeout":300}'