Skip to main content
POST
/
ai-agents
/
agent-builder
/
knowledge-base
/
status
/
poll
Poll Knowledge Base Status
curl --request POST \
  --url https://{appId}.api-{region}.cometchat.io/v3/ai-agents/agent-builder/knowledge-base/status/poll \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "uniqueId": [
    "fb45bb1e-bc81-45a8-85be-36b2aa4f289e",
    "c2847dcd-636c-4e7a-9217-593ccf2a7bb1"
  ]
}
'
{
  "success": true,
  "data": {
    "id1": "indexing",
    "id2": "indexed"
  }
}

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).

Body

application/json

Array of unique IDs to query

uniqueId
string[]
required

Array of unique IDs to query

Example:
[
"fb45bb1e-bc81-45a8-85be-36b2aa4f289e",
"c2847dcd-636c-4e7a-9217-593ccf2a7bb1"
]

Response

200 - application/json

Status for requested unique IDs

The response is of type object.