Check Manuscript Consistency
POST /api/writing/outline/check-consistency/manuscript
Run the contradiction engine across every scene in the active project.
Returns 409 analysis_pack_required when the Deep Analysis Pack
is not installed.
Request Body required
Section titled “Request Body required ”Body for POST /check-consistency/* routes.
scope_kind is always redundant with the route itself but is
echoed back in applied_parameters for tracing. Callers MUST NOT
send a mismatched scope_kind; the server validates per-route.
Responses
Section titled “ Responses ”Successful Response
Terminal response for a completed consistency scan.
Streamed endpoints (chapter + manuscript) emit progress chunks plus this payload as the final SSE event.
object
A single contradiction finding surfaced to the UI.
Frontend-facing view of the service-layer ContradictionFinding
dataclass. Serialized as camelCase via the base model aliases.
object
object
Scan-wide metadata coverage stats — separate from findings.
The UI renders this as “Metadata coverage: N%”, not as findings rows. A scene counts as “fully covered” when every enabled query could run on it (no skips).
object
Per-query metadata coverage counts within a scan scope.
object
object
Cache-hit metadata surfaced in scan responses for debuggability.
object
Validation Error