Skip to main content
GET
https://api.trillet.ai
/
v1
/
api
/
knowledgebase
/
{id}
/
usage
Get Knowledge Base Usage
curl --request GET \
  --url https://api.trillet.ai/v1/api/knowledgebase/{id}/usage \
  --header 'x-api-key: <api-key>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "pathways": [
    {
      "_id": "665a1b2c3d4e5f6a7b8c9d0e",
      "name": "Customer Support Flow"
    },
    {
      "_id": "665a1b2c3d4e5f6a7b8c9d0f",
      "name": "Sales Inquiry Flow"
    }
  ]
}

Headers

x-api-key
string
required
API key used for authenticating requests to the API.
x-workspace-id
string
required
Workspace identifier for the API.

Path Parameters

id
string
required
The unique identifier of the knowledge base.

Response Fields

pathways
array
Array of call flows that are using this knowledge base.
_id
string
Unique identifier of the call flow.
name
string
Name of the call flow.
{
  "pathways": [
    {
      "_id": "665a1b2c3d4e5f6a7b8c9d0e",
      "name": "Customer Support Flow"
    },
    {
      "_id": "665a1b2c3d4e5f6a7b8c9d0f",
      "name": "Sales Inquiry Flow"
    }
  ]
}