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
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

For the complete error reference, see Error Guide.

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[]