📄 Famille Documentaire
Intelligence Documentaire et OCR de Mise en Page
Transformez PDFs, scans, factures et contrats en JSON structuré et Markdown sémantique pour vos pipelines RAG.
Document AI et OCR Structuré
POST/v1/document/extract
Reconnaissance de texte avec cadres englobants précis pour documents complexes et inclinés.
- Layout-aware text recognition with pixel-accurate bounding boxes
- Multi-column, complex diagram, and rotated document parsing
- Supports PDF, TIFF, PNG, JPEG with automatic skew correction
Page Speed< 350ms / page
Character Accuracy99.4% on printed text
POST /v1/document/extractcURL
curl -X POST https://api.brainiall.com/v1/document/extract \
-H "Authorization: Bearer $BRAINIALL_KEY" \
-F "file=@contract.pdf" \
-F "features=layout,text,boxes"
# Response:
# {
# "pages": [{
# "page": 1,
# "blocks": [{ "type": "header", "text": "Service Agreement", "box": [40, 50, 520, 90] }]
# }]
# }Conversion PDF vers Markdown Propre
POST/v1/document/pdf-to-markdown
Convertit PDFs complexes et tableaux en Markdown sémantique optimisé pour le découpage vectoriel.
- Converts arbitrary PDFs into clean, semantic GitHub-flavored Markdown
- Reconstructs nested tables, lists, headers, and code snippets faithfully
- Optimized as the ingestion standard for LLM RAG pipelines
POST /v1/document/pdf-to-markdowncURL
curl -X POST https://api.brainiall.com/v1/document/pdf-to-markdown \ -H "Authorization: Bearer $BRAINIALL_KEY" \ -F "file=@annual_report.pdf" \ -F "table_format=gfm" # Returns pure semantic markdown ready for vector chunking: # # Annual Financial Report 2026 # | Quarter | Revenue | EBITDA | # |---|---|---| # | Q1 | $14.2M | $3.8M |
Extraction Structurée de Formulaires et Tableaux
POST/v1/document/intelligence
Extraction automatique de clés-valeurs et tableaux à partir de factures et reçus.
- Key-value pair extraction from unstructured receipts, bills, and forms
- Reconstructs cell-by-cell table matrices with merged cell detection
- Emits confidence ratings for every extracted field
POST /v1/document/intelligencecURL
curl -X POST https://api.brainiall.com/v1/document/intelligence \
-H "Authorization: Bearer $BRAINIALL_KEY" \
-F "file=@invoice_scan.jpg" \
-F "extract=key_values,tables"
# Response:
# {
# "fields": { "invoice_number": "INV-2026-08", "total": "1,420.00", "due_date": "2026-09-15" }
# }Schémas Métiers et Sectoriels
POST/v1/document/verticals/{domain}
Modèles spécialisés pré-entraînés pour bilans financiers, rapports médicaux et actes juridiques.
- Financial: Invoices, bank statements, balance sheets, tax receipts
- Healthcare: Patient intake forms, lab results, prescription orders
- Legal: Deeds, contracts, court dockets, non-disclosure agreements
POST /v1/document/verticals/financialcURL
curl -X POST https://api.brainiall.com/v1/document/verticals/financial \ -H "Authorization: Bearer $BRAINIALL_KEY" \ -F "file=@bank_statement.pdf" \ -F "schema=bank_statement_v2"
Traitement par Lots à Haut Débit
POST/v1/document/batch
Ingestion parallèle pour archives de plus de 10 000 pages avec notifications asynchrones par webhook.
- High-throughput ingestion for archives of 10,000+ pages
- Webhook completion callbacks with automatic retries on corrupt pages
POST /v1/document/batchcURL
curl -X POST https://api.brainiall.com/v1/document/batch \
-H "Authorization: Bearer $BRAINIALL_KEY" \
-d '{
"document_urls": ["https://s3.../doc1.pdf", "https://s3.../doc2.pdf"],
"webhook_url": "https://myapp.com/webhooks/docs"
}'