ApiKnowledge bases
Lists immutable snapshots of a document, newest revision first.
Each row contains the complete title and Markdown body after one content change, together with its cause and independent person, agent, and execution attribution. Adjacent rows are sufficient for a review client to render the exact before/after diff.
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
uuiddocument*string
The document id.
Format
uuidtenant*string
The tenant identifier
Query Parameters
PageSize?integer
The maximum number of items to return per page
Format
int32PageToken.Skip?integer
Format
int32PageToken.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.
Response Body
curl -X GET "https://api.fruxon.com/v1/tenants/string/knowledgeBases/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/revisions"{
"items": [
{
"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": "AUTHORED",
"actorId": "string",
"agentId": "string",
"executionRecordId": "00000000-0000-0000-0000-000000000000",
"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
}