Document
A document is any file you upload for processing. FlexOrch accepts PDF, DOCX, PPTX, TXT, XLSX, HTML, XML, EML, MSG, JPG, PNG, TIFF, and more. Each uploaded document receives a uniquedocument_id and is stored for the duration defined by your plan’s retention policy.
Job
A job represents one processing run for a single document. When you upload a file, FlexOrch creates a job and runs the pipeline asynchronously. Job states:Pipeline
The pipeline is the sequence of steps FlexOrch runs on every document:- Extract — Parse raw text from the file (OCR for images/scanned PDFs)
- Classify — Detect document type (invoice, payroll, etc.)
- Extract fields — Pull structured data using deterministic patterns, falling back to LLM for complex fields
- Detect PII — Identify personal and sensitive data across 46 types
- Quality score — Compute a score (0–100) and grade (A–D)
- Deliver — Write results to the pipeline execution record
Execution
A pipeline execution is the record of one pipeline run: extracted fields, detected language, quality score, PII summary, and masked text (if PII was found).Dataset
A dataset is a collection of pipeline executions you explicitly build and export. Datasets contain cleaned, structured records from one or more processed documents. Building a dataset is a separate step — you choose which completed jobs to include.Quality Grade
Every document receives a quality grade:PII Type
A PII type identifies the kind of personal data found (e.g.,email, phone_tr, national_id_tr, iban). FlexOrch detects 46 types across Turkish, EU, and US jurisdictions.
See PII Detection for the full type catalog.
Credit
Credits are consumed per processed job. The amount depends on the processing engine and document size:
Dataset builds and exports do not consume credits. Credit usage is tracked per billing period. The Usage endpoint shows your current balance.