Documents API
Base path /v1/documents. All requests require Authorization and X-SialFlow-Project-ID.
Human-review decide endpoints and full LLM-normalize packs are Planned — poll Jobs today.
| Method | Path | Description |
|---|---|---|
| POST | /jobs | Document pipeline job |
| POST | /ocr | OCR / searchable PDF |
| POST | /redact | Redaction / PII (expanding) |
| POST | /classify | Classification (expanding) |
| GET | /jobs/{id} | Get job (page progress) |
Example
curl -X POST https://api.sialflow.com/v1/documents/jobs \
-H "Authorization: Bearer $SIALFLOW_API_KEY" \
-H "X-SialFlow-Project-ID: $SIALFLOW_PROJECT_ID" \
-d '{"source_object_id":"obj_...","operations":[{"op":"ocr"},{"op":"redact_pii"},{"op":"normalize_for_llm"}]}'