ApiKnowledge bases
Gets one consolidation run, with its report once it completed.
Poll this after `:consolidate`. While the run is queued or running the report is null; once it completed, the report lists every cluster found — its members, the similarity range that grouped them, and the outcome: reported only, merged (with the survivor and the archived ids), kept separate by the agent, or failed with the reason. A failed run carries the error instead.
Authorization
Bearer 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.
Format
uuidconsolidation*string
The run id.
Format
uuidtenant*string
The tenant identifier
Response Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/knowledgeBases/497f6eca-6276-4993-bfeb-53cbbbba6f08/consolidations/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"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,
"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,
"outcome": "UNSPECIFIED",
"classification": "UNSPECIFIED",
"survivorId": null,
"archivedIds": [],
"note": "string",
"executionRecordId": null
}
],
"clustersFound": 1,
"clustersMerged": 0,
"clustersKeptSeparate": 0,
"clustersFailed": 0,
"clustersRelated": 0,
"documentsArchived": 0
},
"createdAt": 0,
"modifiedAt": 0
}Empty
Empty
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}