Documents
Mark the document as extraction-failed.
Service-owned status transition: callers declare that extraction failed and what category via a bounded error_code. The route service-truncates error_message to a fixed cap and rejects arbitrary status combinations. Idempotent on retry; 409 on invalid source state with the row's current per-layer status echoed in the response body.
post/v1/documents/{id}/extraction-failure
Path parameters
idstring uuid required
Request body
Response
Marker write acknowledgement; durable row echoed.