FruxonDocs
ApiKnowledge bases

Counts the articles held for review across the workspace, for the Knowledge nav badge.

A single point-in-time rollup across every active knowledge base, so ambient chrome costs one request rather than one per base. An article counts when it is a draft whose newest snapshot the approval policy routed to a person — the same population the review digest mails about, and narrower than `documents/reviewQueue`, which lists every draft including hand-authored work in progress. Drafts on archived bases are excluded. A caller with no knowledge bases gets zeroes rather than an empty-handed error: the badge is chrome, not a resource. The 404 below is the workspace itself not resolving, which every tenant-scoped route answers.

GET
/v1/tenants/{tenant}/knowledgeBases/reviewSummary
AuthorizationBearer <token>

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

In: header

Path Parameters

tenant*string

The tenant identifier

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/knowledgeBases/reviewSummary"
{
  "pendingReview": 0,
  "knowledgeBases": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "displayName": "string",
      "pendingReview": 0
    }
  ]
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}