Knowledge base

Update data

Only xlsx files are supported; the first row must be the header A single document may currently be at most 20 MB; larger files cannot be processed A single sheet may currently contain at most 2000 data rows; larger sheets cannot be processed

PUT/openapi/knowledge

Request

Request body

knowledge_codestringrequired

Knowledge base code

Example:""
knowledge_filestringrequired

File to update

Example:""
colintegerrequired

Column to index, starting from 1

Example:0

Response

200 OK

No fields

Sample code

curl -X PUT 'https://openapi.voicefox.ai/openapi/knowledge' \
  -H 'Authorization: Bearer <YOUR_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{
  "knowledge_code": "",
  "knowledge_file": "",
  "col": 0
}'

Response example

{}