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 } ] }
Retrieves all text-based knowledge base entries for the application. Use this endpoint to view and manage text content in the knowledge base.
API Key (i.e. Rest API Key from the Dashboard).
Text details retrieved successfully
Was this page helpful?
Contact support