- Sync
- Async
Parameters
document_id(str): ID of the document to wait fortimeout_seconds(int, optional): Maximum time to wait for completion. Defaults to 300.check_interval_seconds(int, optional): Delay between status checks. Defaults to 2.progress_callback(callable, optional): Receives progress updates as(current_step, total_steps, step_name, percentage)
Returns
Document: Updated document metadata once processing completes
Examples
- Sync
- Async

