Section 1
Authentication and Access
- Use bearer tokens for protected routes and service role keys only in backend contexts.
- Enforce RLS-compatible user scoping when reading jobs and extraction results.
Production-oriented endpoints for document lifecycle operations.
REST endpoints for uploads, processing jobs, status checks, and export data.
Section 1
Section 2
Section 3
POST /api/processing/start
{
"document_id": "doc_123",
"mode": "invoice"
}