{"endpoints":{"/extract":{"description":"Extract text from uploaded file","method":"POST","parameters":{"all_pages":"Set to \"true\" to extract all pages (optional)","file":"File to extract text from (required)","page":"Page number for multi-page docs (optional, default: 1)","use_ocr":"Set to \"false\" to disable OCR fallback for PDFs (optional, default: true)"},"supported_formats":["tiff","pdf","bmp","txt","png","jpeg","gif","jpg","docx","pptx"]},"/health":{"description":"Health check endpoint","method":"GET"}},"example_usage":{"all_pages":"curl -X POST -F \"file=@document.pdf\" -F \"all_pages=true\" http://localhost:5000/extract","basic":"curl -X POST -F \"file=@document.pdf\" http://localhost:5000/extract","disable_ocr":"curl -X POST -F \"file=@document.pdf\" -F \"use_ocr=false\" http://localhost:5000/extract","specific_page":"curl -X POST -F \"file=@document.pdf\" -F \"page=3\" http://localhost:5000/extract"},"service":"Text Extraction API","version":"1.0"}
