Scan Scene
POST /api/creative/hawken/style/scene-scan
New M5 primary route for Hawken scene scans.
Same backing as /analyze-content but with a clean JSON request
body and the richer native HawkenSceneScanResponse shape. New
frontend code should target this route; /analyze-content remains
for legacy form-based callers.
Request Body required
Section titled “Request Body required ”Request body for POST /hawken/style/scene-scan (M5).
object
Outline node ID to scan
Responses
Section titled “ Responses ”Successful Response
Unified M5 Hawken scene-scan response.
Extends the legacy ContentStyleAnalysisResponse shape with
richer deterministic measurements. The former LLM-subjective fields
(style_consistency, detected_style, etc.) are retained and filled
via deterministic calculation so existing frontend renders keep
working.
object
Deterministic style-consistency proxy (0-100)
Dominant register mapped to a style label
Classifier confidence (0-100)
Detected tone from sentiment + register
Suggested audience from register
Heuristic creativity score (0-100)
Heuristic engagement score (0-100)
Heuristic mechanics score (0-100)
Outline node id that was scanned
One finding produced by a sub-scanner during a scene scan (M5).
object
Source-prefixed rule identifier
Error | warning | info
Sub-report id that produced this finding
Human-readable diagnosis
Scope the finding is about
object
Sentiment (VADER) analysis sub-report for a scene (M5).
object
Positive-token density
Negative-token density
Neutral-token density
Overall compound [-1, +1]
Per-sentence compound scores in reading order
Tokens that matched the lexicon
Register (formal/casual/archaic) sub-report for a scene (M5).
object
Formal wordlist density
Casual wordlist density
Archaic wordlist density
Formal | casual | archaic | mixed | none
Quantitative scene-metric sub-report (M5).
object
Total words in scene
Total sentences
Words / sentence
Flesch-Kincaid grade level
Adverb-count / word-count
ProseGuard filter-word count / word-count
Per-sub-report status + count for the M5 scene scan.
Validation Error