cURL
curl --request GET \ --url https://{appid}.api-{region}.cometchat.io/v3/ai-agents/agent-builder/knowledge-base/text/{uniqueId} \ --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", "vectorizationStatus": "completed", "createdAt": 1700000000000, "updatedAt": 1700000000000, "isActive": true } }
Retrieves a specific text-based knowledge base entry by its unique ID. Use this endpoint to inspect the content and status of a text entry.
API Key (i.e. Rest API Key from the Dashboard).
Unique text detail ID
"f47ac10b-58cc-4372-a567-0e02b2c3d479"
Text detail retrieved successfully
Show child attributes
Was this page helpful?
Contact support