FruxonDocs
ApiKnowledge bases

Lists draft documents with their latest change.

Each item carries the current document, its newest immutable revision, and the immediately preceding revision when one exists. A review client can therefore render the actual change without issuing a revision-history request for every row in the queue.

GET
/v1/tenants/{tenant}/knowledgeBases/{knowledgeBase}/documents/reviewQueue
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
tenant*string

The tenant identifier

Query Parameters

PageSize?integer

The maximum number of items to return per page

Formatint32
PageToken.Skip?integer
Formatint32
PageToken.Cursor?string

Opaque cursor token from an external system (e.g. RAG API). When set, M:Fruxon.Common.Collections.PageToken.AsString returns this value directly instead of encoding Fruxon.Common.Collections.PageToken.Skip.

orderBy?string

Queue order. NEWEST is the compatibility default; PRIORITY places personal-data risks before policy and quality warnings, then routine reviews, with newest-first tie-breakers.

Default"NEWEST"
Value in"UNSPECIFIED" | "NEWEST" | "PRIORITY"

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/knowledgeBases/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents/reviewQueue"
{
  "items": [
    {
      "document": {
        "id": "00000000-0000-0000-0000-000000000000",
        "knowledgeBaseId": "00000000-0000-0000-0000-000000000000",
        "title": "string",
        "bodyMarkdown": "string",
        "status": "UNSPECIFIED",
        "locale": "string",
        "tags": [],
        "metadata": {},
        "sourceConversationIds": [],
        "lastReviewedAt": null,
        "lastReviewedBy": "string",
        "createdAt": 0,
        "modifiedAt": 0
      },
      "latestRevision": {
        "id": "00000000-0000-0000-0000-000000000000",
        "knowledgeBaseId": "00000000-0000-0000-0000-000000000000",
        "knowledgeDocumentId": "00000000-0000-0000-0000-000000000000",
        "revision": 0,
        "title": "string",
        "bodyMarkdown": "string",
        "cause": "UNSPECIFIED",
        "actorId": "string",
        "agentId": "string",
        "executionRecordId": null,
        "reviewRequired": false,
        "reviewReason": "string",
        "createdAt": 0
      },
      "previousRevision": {
        "id": "00000000-0000-0000-0000-000000000000",
        "knowledgeBaseId": "00000000-0000-0000-0000-000000000000",
        "knowledgeDocumentId": "00000000-0000-0000-0000-000000000000",
        "revision": 0,
        "title": "string",
        "bodyMarkdown": "string",
        "cause": "UNSPECIFIED",
        "actorId": "string",
        "agentId": "string",
        "executionRecordId": null,
        "reviewRequired": false,
        "reviewReason": "string",
        "createdAt": 0
      }
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}