Trigger processing for a document after upload.
This extracts text from the document, splits it into chunks, generates embeddings, and stores them for search.
The document status will transition: pending → processing → ready (or failed).
API Key or Personal Access Token (PAT). When using PAT, include X-Project header.
11Use Unstructured.io for extraction if available