Graphor icon

Graphor

Interact with Graphor API for document processing, RAG, and AI-powered document chat

Source → Process

AI-generated

Summary

Reprocess an existing document source using a specified partition (processing) method to update its parsed structure.

Inputs

  • File ID (required) — The unique file ID of the document source to be reprocessed, obtained from build status or list sources operations.
  • Partition Method — The processing method to apply for document parsing. Options include 'Fast' (heuristic classification without OCR), 'Balanced' (OCR-based extraction with structure classification), 'Accurate' (fine-tuned model for highest accuracy), and 'Agentic' (highest accuracy for complex layouts, tables, and diagrams). Default is 'Fast'.

Output shape

a single JSON object containing the API response from the reprocess request

The operation sends a POST request to the Graphor API endpoint '/reprocess' with 'file_id' and 'method' in the body and returns the API response as JSON. Errors are returned as a JSON error message when continueOnFail is enabled.

Links

Discussion