curl --request POST \
--url https://api.example.com/api/ai/knowledges/{id}/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"createdAt": "2018-11-21T06:20:32.232Z",
"updatedAt": "2018-11-21T06:20:32.232Z",
"disabled": true,
"storageFileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parserConfig": {
"chunkSize": 1000,
"chunkOverlap": 100,
"delimiter": "; , ."
},
"pages": [
{
"createdAt": "2018-11-21T06:20:32.232Z",
"updatedAt": "2018-11-21T06:20:32.232Z",
"id": "<string>",
"createdById": "<string>",
"updatedById": "<string>",
"pageContent": "<string>",
"metadata": {},
"status": "<string>"
}
],
"chunks": [
{
"createdAt": "2018-11-21T06:20:32.232Z",
"updatedAt": "2018-11-21T06:20:32.232Z",
"id": "<string>",
"createdById": "<string>",
"updatedById": "<string>",
"pageContent": "<string>",
"metadata": {},
"status": "<string>",
"parent": "<unknown>"
}
],
"id": "<string>",
"createdById": "<string>",
"updatedById": "<string>",
"sourceConfig": {},
"category": "text",
"type": "<string>",
"thumbnail": "<string>",
"parserId": "<string>",
"name": "<string>",
"filePath": "<string>",
"fileUrl": "<string>",
"folder": "<string>",
"size": 123,
"mimeType": "<string>",
"tokenNum": 123,
"chunkNum": 123,
"progress": 123,
"processMsg": "<string>",
"processBeginAt": "2023-11-07T05:31:56Z",
"processDuation": 123,
"status": "waiting",
"jobId": "<string>",
"options": {},
"metadata": {},
"draft": {},
"parent": "<unknown>"
}
]
'