ApiKnowledge bases
Reports what the implementation behind a source has been doing.
A read-only projection of the linked automation's work ledger — admitted, backlog, claims, dead and ignored counts, the per-stage funnel, spend, and cursor freshness — in the ledger's own vocabulary, so READY is backlog rather than motion. There is no coverage percentage: an incremental source has no honest denominator for one. A source whose linked automation has been reshaped or deleted answers with `workAvailable: false` and the reason, because that is reduced health rather than an error.
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
uuidsource*string
The knowledge source 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/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08/activity"{
"sourceId": "00000000-0000-0000-0000-000000000000",
"workAvailable": false,
"workUnavailableReason": "string",
"triggerId": "00000000-0000-0000-0000-000000000000",
"work": {
"admitted": 0,
"ready": 0,
"claimed": 0,
"waiting": 0,
"failed": 0,
"dead": 0,
"ignored": 0,
"done": 0
},
"stages": [
{
"stageId": "string",
"status": "READY",
"count": 0,
"cost": 0,
"runs": 0
}
],
"oldestReadyAdmittedAt": 0,
"lastScanCompletedAt": 0,
"lastItemAdmittedAt": 0,
"cursorUpdatedAt": 0,
"cost": 0,
"runs": 0,
"destinationVerified": false,
"destinationWarning": "string"
}Empty
Empty
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}