Skip to main content
GET
/
ai-agents
/
agent-builder
/
knowledge-base
/
text
List Text Entries
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
    }
  ]
}

Authorizations

apikey
string
header
required

API Key (i.e. Rest API Key from the Dashboard).

Response

200 - application/json

Text details retrieved successfully

data
object[]