Scan Document
POST /api/writing/insights/scan
POST
/api/writing/insights/scan
Trigger a full insight scan for a document.
Routes through DivinityExecutor / :class:InsightsScanHandler
after Phase A12 of the M15 migration; the legacy direct-service
fallback was retired with the LLM provider stack.
Request Body required
Section titled “Request Body required ” InsightScanRequest
POST /api/creative/writing/insights/scan.
object
documentId
required
Documentid
string
Responses
Section titled “ Responses ”Successful Response
InsightsResponse
GET /api/creative/writing/insights.
object
insights
required
Insights
Array<object>
InsightOne proactive insight surfaced by the insight service.
object
id
required
Id
string
insightType
required
InsightType
Categories of proactive insight.
string
severity
required
Severity
string
title
required
Title
string
description
required
Description
string
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context