Parse Documents and Spreadsheets Without Indexing
- The same chunks indexing produces, without a collection: the Parse API runs a file through the parsing and chunking Captain uses for indexing and returns the chunks without storing them in a collection. Each chunk carries its text, token count, layout type, and page or row location, so the chunks can go into another database and be managed there. See Parse Document.
- Documents and spreadsheets:
POST /v3/parse/documentstakes PDF, DOCX and DOC files, withprocessing_typeset toadvancedorbasic.POST /v3/parse/spreadsheetstakes XLSX, XLSM, XLS, CSV and TSV files, with optional image descriptions and verified facts. See Parse Spreadsheet. - Links or uploads: a parse request takes
input, either a direct download link (public or presigned) or acaptain://ID from Upload File. Links without a file extension work too, because Captain reads the file type from the file itself. - Jobs with webhooks: each request starts a job. Get Parse Job returns its status and, once it completes, the chunks in order. Pass
wait(up to 50 seconds) to hold the request until the job ends instead of polling on a timer. Theparse.completed,parse.failedandparse.cancelledwebhook events report when a job ends. - Billing matches indexing: document pages bill at the indexing rates for their processing type. Spreadsheets bill for their sheet text and for each described image. Failed and cancelled jobs are not billed.