Trillet AI logo

Get Knowledge Base Usage

See which call flows and message flows use a knowledge base.

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

Headers

x-workspace-idstringrequired

Workspace identifier for the API.

Path Parameters

idstringrequired

The unique identifier of the knowledge base.

Response Fields

pathwaysarray

Every call flow and message flow in the workspace that has this knowledge base attached. Call flows come first, then message flows; the items don't say which kind each one is. Empty if nothing uses it.

_idstring

ID of the call flow or message flow.

namestring

Name of the flow.

{
  "pathways": [
    {
      "_id": "a4a4a4a4a4a4a4a4a4a4a4a4",
      "name": "Customer Support Flow"
    },
    {
      "_id": "a5a5a5a5a5a5a5a5a5a5a5a5",
      "name": "Sales Inquiry Flow"
    }
  ]
}

Last updated on