Get Latest Check
GET /api/agents/lorekeeper/checks/{document_id}/latest
Get the most recent consistency check for a document, with all issues.
Returns None (200) when no project is active or no check has been
persisted yet — both are benign empty states surfaced via the panel’s
idle UI rather than a 4xx/5xx that would pop the global error modal
on tab open.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”Successful Response
Full consistency check result with issues.
object
Check metadata
object
Check ID
Document that was checked
Project ID
Timestamp in milliseconds
Check depth used
0-100 issue-penalty consistency score (what the UI displays)
Entities found
Issues found
Workflow ids Lorekeeper recommended as fix actions for this check (e.g. ["hawken_contradiction_resolve"]). Empty when no fix workflow matched the run’s severities. Historical checks saved before this field existed have an empty list.
Issues from this check
Persisted consistency issue with status tracking.
object
Issue ID
Parent check ID
Which check found this
Issue severity
Issue description
Open/acknowledged/resolved/false_positive
Validation Error