Skip to main content
POST
/
ai-agents
/
agent-builder
/
knowledge-base
/
website
/
{parentUniqueId}
/
discovered-urls
/
process
Process Discovered URLs
curl --request POST \
  --url https://{appId}.api-{region}.cometchat.io/v3/ai-agents/agent-builder/knowledge-base/website/{parentUniqueId}/discovered-urls/process \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "exclude": []
}'
{
  "success": true,
  "message": "Batch processing initiated successfully",
  "data": {
    "batchId": "batch-1701789123456",
    "urlsProcessed": 2,
    "totalUrls": 2,
    "webhookUrl": "https://webhook.site/b4994000-62d9-4e17-928f-790282cb5815",
    "status": "processing"
  }
}

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

Path Parameters

parentUniqueId
string
required

Body

application/json

Discovered URLs processing configuration. App ID is taken from header, not body.

exclude
string[]
required

Array of unique IDs to exclude from crawling

Response

200 - application/json

Batch processing initiated successfully

success
boolean
Example:

true

message
string
Example:

"Batch processing initiated successfully"

data
object