Overview of Unstructured API
mainThe Unstructured API is a self-hosted REST API designed to partition documents using the open-source unstructured library. It automatically detects uploaded file types, selects the appropriate partitioner, and returns document elements in JSON or CSV format.
Key Capabilities:
- Supports all file types compatible with
unstructured[all-docs]. - Provides multiple PDF/image strategies:
auto,fast,hi_res, andocr_only. - Supports table and image-block extraction, OCR language selection, page breaks, and coordinates.
- Offers
by_titlechunking with overlap controls. - Handles single-file and multi-file requests.
- Provides API documentation at
http://localhost:8000/general/docsand an OpenAPI schema athttp://localhost:8000/general/openapi.jsononce the server is running.