cURL
curl --request GET \ --url https://{appId}.api-{region}.cometchat.io/v3/ai-agents/agent-builder/knowledge-base/text \ --header 'apikey: <api-key>'
{ "data": [ { "uniqueId": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "title": "Company Policy Document", "text": "This document outlines...", "fileName": "company-policy-document.md", "s3Key": "my-app-id/text/f47ac10b/company-policy-document.md", "status": "indexed", "createdAt": 1700000000000, "updatedAt": 1700000000000 } ] }
Lists all text-based knowledge base entries for the app.
API Key (i.e. Rest API Key from the Dashboard).
Text details retrieved successfully
Was this page helpful?
Contact support