Skip to main content
PATCH
/
ai-agents
/
agent-builder
/
knowledge-base
/
{sourceType}
/
{uniqueId}
/
sync
Sync Knowledge Base Source
curl --request PATCH \
  --url https://{appid}.api-{region}.cometchat.io/v3/ai-agents/agent-builder/knowledge-base/{sourceType}/{uniqueId}/sync \
  --header 'apikey: <api-key>'

Authorizations

apikey
string
header
required

API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).

Path Parameters

sourceType
string
required

Source type (uploads, knowledge-base, etc.)

uniqueId
string
required

Unique source ID to sync

Response

Revectorization triggered successfully.