FruxonDocs
ApiKnowledge bases

Checks whether the copies of repeated facts a pass reported agree.

The base's consolidator reads each named fact's copies — one section from each article, as the article stands now — and says whether they contradict each other. Nothing is written to a document. A fact whose copies changed since the pass comes back STALE. Queues a CHECK_FACTS run and returns it; its report carries a verdict per fact.

POST
/v1/tenants/{tenant}/knowledgeBases/{knowledgeBase}/consolidations/{consolidation}:checkFacts
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

knowledgeBase*string

The knowledge base id.

Formatuuid
consolidation*string

The pass whose report found the facts.

Formatuuid
tenant*string

The tenant identifier

The facts to check and the report version they were read from.

factIds?array<string>

Which of the report's repeated facts to check (Fruxon.Model.KnowledgeBases.KnowledgeRepeatedFactReport.FactId).

expectedReportVersion?integer

The report version the caller read.

Formatint32
[key: string]?never

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/knowledgeBases/497f6eca-6276-4993-bfeb-53cbbbba6f08/consolidations/497f6eca-6276-4993-bfeb-53cbbbba6f08:checkFacts" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "00000000-0000-0000-0000-000000000000",
  "knowledgeBaseId": "00000000-0000-0000-0000-000000000000",
  "status": "QUEUED",
  "trigger": "MANUAL",
  "consolidationPolicyVersion": 0,
  "consolidationCadence": "MANUAL",
  "consolidationMode": "REPORT_ONLY",
  "requestedBy": "string",
  "reportOnly": false,
  "reportOnlyReason": "string",
  "similarityThreshold": 0,
  "maxClusterSize": 0,
  "recentWriteWindowMinutes": 0,
  "basedOnRunId": "00000000-0000-0000-0000-000000000000",
  "clusterIds": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "reviewerNote": "string",
  "startedAt": 0,
  "completedAt": 0,
  "error": "string",
  "report": {
    "version": 0,
    "knowledgeBaseId": "00000000-0000-0000-0000-000000000000",
    "reportOnly": false,
    "consolidatorAgentId": "string",
    "similarityThreshold": 0,
    "maxClusterSize": 0,
    "recentWriteWindowMinutes": 0,
    "documentsConsidered": 0,
    "documentsSkippedAsRecentlyModified": 0,
    "embeddingsComputed": 0,
    "embeddingsReused": 0,
    "embeddingTokens": 0,
    "embeddingModel": "string",
    "clusters": [
      {
        "clusterId": "00000000-0000-0000-0000-000000000000",
        "index": 0,
        "members": [],
        "maxSimilarity": 0,
        "minSimilarity": 0,
        "sectionOverlap": null,
        "outcome": "UNSPECIFIED",
        "classification": "UNSPECIFIED",
        "survivorId": null,
        "proposedTitle": "string",
        "proposedBodyMarkdown": "string",
        "proposedTags": [],
        "authorAgentId": "string",
        "archivedIds": [],
        "note": "string",
        "conflicts": [],
        "executionRecordId": null,
        "decidedBy": "string",
        "earlierDecision": null
      }
    ],
    "repeatedFacts": [
      {
        "factId": "00000000-0000-0000-0000-000000000000",
        "title": "string",
        "minSimilarity": 0,
        "occurrences": [],
        "check": null
      }
    ],
    "sectionsCompared": 0,
    "repeatedFactsSkippedReason": "string",
    "openingBoilerplate": [
      "string"
    ],
    "clustersFound": 1,
    "clustersMerged": 0,
    "clustersKeptSeparate": 0,
    "clustersFailed": 0,
    "clustersProposed": 0,
    "clustersRelated": 0,
    "documentsArchived": 0
  },
  "createdAt": 0,
  "modifiedAt": 0
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}