BrowserUse_and_ComputerUse_.../api
Кобылкевич Фёдор d277955a9a add api for post browser-use tasks
2026-04-07 22:01:53 +03:00
..
__init__.py add api for post browser-use tasks 2026-04-07 22:01:53 +03:00
browser_rpc_client.py add api for post browser-use tasks 2026-04-07 22:01:53 +03:00
config.py add api for post browser-use tasks 2026-04-07 22:01:53 +03:00
Dockerfile add api for post browser-use tasks 2026-04-07 22:01:53 +03:00
main.py add api for post browser-use tasks 2026-04-07 22:01:53 +03:00
README.md add api for post browser-use tasks 2026-04-07 22:01:53 +03:00
requirements.txt add api for post browser-use tasks 2026-04-07 22:01:53 +03:00
schemas.py add api for post browser-use tasks 2026-04-07 22:01:53 +03:00
task_store.py add api for post browser-use tasks 2026-04-07 22:01:53 +03:00

Browser REST API

REST-обертка над browser-use RPC (http://browser:8787/run).

Endpoints

  • GET /health
  • POST /api/browser/tasks
  • GET /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}'