process_document
Download a document from a URL and submit it to the FlexOrch pipeline for classification, extraction, PII detection, and quality scoring. Parameters
Returns
get_job_status
Poll a processing job until it completes or fails. Parameters
Returns — completed (data_process)
extract → privacy → quality → dataset.
Returns — failed
get_extraction_result
Retrieve structured extracted fields from a completed processing job. Returns up to 100 records inline — for larger documents, useexport_dataset.
Parameters
Returns
Masked fields use the
[MASKED_TYPE] placeholder format — e.g. [MASKED_NAME], [MASKED_EMAIL], [MASKED_NATIONAL_ID_TR]. Raw PII values are never exposed.build_dataset
Build a structured, exportable dataset from a completed execution. Parameters
Returns
get_job_status until status is "completed" — the response will include dataset_id.
search_documents
Search across all indexed datasets using structured keyword matching or semantic vector search. Parameters
Returns
mode="semantic" and mode="hybrid" require a Pro plan or above. Trial and Starter plans return a PLAN_UPGRADE_REQUIRED error for these modes. Use mode="auto" to fall back to structured search automatically.export_dataset
Export a built dataset and return its full content as text. Parameters
Supported formats
Binary formats (
parquet, hf) are not supported via MCP — download them directly from GET /v1/datasets/{id}/export/{format}.
Returns
dataset.index
Requires a Pro or Enterprise plan.
dataset.chunks. Indexing is idempotent — calling it again on an already-indexed dataset is safe.
Parameters
Returns
dataset.chunks.
dataset.chunks
Requires a Pro or Enterprise plan. Index the dataset first with
dataset.index.
Returns