FruxonDocs
ApiKnowledge bases

Publishes the knowledge base snapshot.

Renders every published document into a full snapshot and pushes it to the backing asset. The asset becomes searchable after RAG finishes ingesting the accepted snapshot.

POST
/v1/tenants/{tenant}/knowledgeBases/{knowledgeBase}:publish
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

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/knowledgeBases/497f6eca-6276-4993-bfeb-53cbbbba6f08:publish"
{
  "publishedDocumentCount": 0,
  "lastPublishedAt": 0,
  "publishState": "NONE"
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}