Entity Cleanup Scan
GET /api/writing/entities/cleanup/scan
GET
/api/writing/entities/cleanup/scan
Scan document_entities and lore_entries for pollution.
Returns the same report shape as scripts/cleanup_garbage_entities.py
so the in-app cleanup panel can render the candidate list and let
the user decide whether to apply.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Responses
Section titled “ Responses ”Successful Response
Response Entity Cleanup Scan Api Writing Entities Cleanup Scan Get
object
key
additional properties
any
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