# Files:Archives

**Page:** api/files-archives

[Download Raw Markdown](./api/files-archives.md)

---

## API Endpoints Summary

- **GET** `/?extraction_history` — Extraction history
- **GET** `/?extractions` — List active extractions
- **GET** `/api/v1/extractions` — List active extractions
- **GET** `/{archive}?extract` — Extract archive
- **GET** `/{archive}?extract_file` — Extract file from archive
- **GET** `/{archive}?preview` — Preview archive contents or read file
- **GET** `/{archive}?view_file` — View file from archive
- **GET** `/{directory}?zip` — Download directory as ZIP

## CLI

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