Enqueue a document for the extraction pipeline.
Creates a Document row with status='queued' and returns the document_id together with a polling URL. The actual extraction worker (Taskiq) is wired in US-5 (E5.3).
Limits: content must be non-empty and ≤ 1 000 000 bytes (UTF-8). Documents above 15 000 words are split into 4 parts (XL path) while ANDISH_XL_SPLIT_ENABLED is on (the default since ADR-037 A2); with the flag off (kill switch) they get 413 payload_too_large_xl_unavailable (detail: max_words, words). Hard cap: 50 000 words → 413 payload_too_large_xl_cap (detail includes words — actual word count — and parts_hint — suggested number of parts). Splitter failure on degenerate input → 422 xl_split_failed.
Request
- Base URL: https://api.andish.ru (the document declares no server; this is the origin it was published from)
- URL: https://api.andish.ru/v1/documents
- Auth: none declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.