FruxonDocs
ApiKnowledge bases

Lists the tenant's knowledge bases.

Returns active knowledge bases for the current tenant. Archived knowledge bases are hidden from this collection but remain available to agents that still reference their backing assets.

GET
/v1/tenants/{tenant}/knowledgeBases
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

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 pagination token returned by an external service. Pass it back unchanged rather than interpreting it as an offset.

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/knowledgeBases"
{
  "items": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "displayName": "string",
      "description": "string",
      "locale": "string",
      "suggestedLocale": {
        "locale": "string",
        "matching": 0,
        "considered": 0,
        "detected": false
      },
      "networkId": "00000000-0000-0000-0000-000000000000",
      "autoPublish": false,
      "automaticPublishWithheld": false,
      "consolidatorAgentId": "string",
      "correctionsAvailable": false,
      "consolidationPolicy": {
        "version": 0,
        "cadence": "UNSPECIFIED",
        "mode": "UNSPECIFIED",
        "similarityThreshold": 0,
        "maxClusterSize": 0,
        "recentWriteWindowMinutes": 0,
        "autoAskDailyLimit": 0,
        "calibration": null
      },
      "consolidationRecipe": {
        "domain": "string",
        "locale": "string",
        "categories": [],
        "provider": null,
        "recipeVersion": 0,
        "upgradeAvailable": null
      },
      "lastConsolidatedAt": 0,
      "backingAssetId": "string",
      "embedding": {
        "provider": "string",
        "model": "string",
        "chunkSize": null,
        "chunkOverlap": null
      },
      "status": "ACTIVE",
      "lastPublishedAt": 0,
      "contentRevision": 0,
      "publishedContentRevision": 0,
      "changesPending": false,
      "publishPendingSince": 0,
      "publishState": "NONE",
      "lastPublishError": "string",
      "lastPublishErrorCategory": "CREDENTIALS",
      "createdAt": 0,
      "modifiedAt": 0
    }
  ],
  "nextPageToken": "string",
  "totalCount": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}