cURL
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" } ] }
Retrieve usage information for a knowledge base, including which call flows are using it.