# Terminal:Terminal Sessions

**Page:** api/terminal-terminal-sessions

[Download Raw Markdown](./api/terminal-terminal-sessions.md)

---

## API Endpoints Summary

- **GET** `/api/v1/terminal/ws` — WebSocket terminal connection
- **POST** `/api/v1/terminal/create` — Create a terminal session
- **GET** `/api/v1/terminal/history/{terminal_id}` — Get terminal command history
- **DELETE** `/api/v1/terminal/{terminal_id}` — Delete a terminal session
- **GET** `/api/v1/terminal/raw` — Get raw terminal output
- **GET** `/api/v1/terminal/screenshot` — Capture terminal screenshot
- **GET** `/api/v1/terminal/sessions` — List all terminal sessions

## CLI

```bash
# CLI mapping will be generated from the SDK CLI sources in a later step.
# Example (placeholder):
# hoody-cli <command> --help
```