# Web API 参考

自动生成于 `omc doc generate`

| 方法 | 路径 |
|------|------|
| `GET` | `/sse/execute/{task_id}` |
| `GET` | `/api/agent/live` |
| `GET` | `/` |
| `GET` | `/history` |
| `GET` | `/agents` |
| `GET` | `/dashboard` |
| `GET` | `/api/tasks` |
| `GET` | `/api/tasks/{task_id}` |
| `DELETE` | `/api/tasks/{task_id}` |
| `GET` | `/api/history` |
| `GET` | `/api/dashboard/stats` |
| `GET` | `/api/dashboard/files` |
| `POST` | `/api/open-folder` |
| `POST` | `/api/save-report` |
| `POST` | `/api/chat` |
| `POST` | `/api/chat/completions` |
| `POST` | `/api/execute` |
| `POST` | `/api/execute-sync` |
| `GET` | `/api/config` |
| `GET` | `/settings` |
| `GET` | `/api/settings` |
| `POST` | `/api/settings` |
| `POST` | `/api/test-connection` |
| `GET` | `/api/workflows` |
| `GET` | `/api/workflows/{name}` |
| `PUT` | `/api/workflows/{name}` |
| `DELETE` | `/api/workflows/{name}` |
| `GET` | `/api/sessions` |
| `POST` | `/api/sessions` |
| `GET` | `/api/sessions/{session_id}` |
| `PUT` | `/api/sessions/{session_id}` |
| `DELETE` | `/api/sessions/{session_id}` |
| `GET` | `/api/coverage` |
| `POST` | `/api/coverage/run` |
| `GET` | `/health` |
| `GET` | `/coverage` |
| `GET` | `/docs` |
