Trillet AI logo

Get Knowledge Base Usage

Retrieve usage information for a knowledge base, including which call flows are using it.

GEThttps://api.trillet.ai/v1/api/knowledgebase/{id}/usage

Headers

x-api-keystringrequired

API key used for authenticating requests to the API.

x-workspace-idstringrequired

Workspace identifier for the API.

Path Parameters

idstringrequired

The unique identifier of the knowledge base.

Response Fields

pathwaysarray

Array of call flows that are using this knowledge base.

_idstring

Unique identifier of the call flow.

namestring

Name of the call flow.

{
  "pathways": [
    {
      "_id": "665a1b2c3d4e5f6a7b8c9d0e",
      "name": "Customer Support Flow"
    },
    {
      "_id": "665a1b2c3d4e5f6a7b8c9d0f",
      "name": "Sales Inquiry Flow"
    }
  ]
}