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.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The knowledge base id.
uuidThe tenant identifier
Query Parameters
The maximum number of items to return per page
int32int32Opaque 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.
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.
"NEWEST""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
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}