FruxonDocs
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.

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

The document 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.

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
}