post https://api.voiceflow.com/v1/knowledge-base/docs/upload
Uploads a document of type "url" to the Knowledge Base. Limit is one url per call.
Request Fields
Property | Description & Example |
---|---|
Content-Type (header) | application/json; charset=utf-8 |
overwrite | Optional - Specify whether to overwrite existing data (optional). |
maxChunkSize | Optional - Determine how granularly each document is broken up. Smaller chunk size means:
|
Example
Sample Request
{
"data": {
"type": "url",
"url": "https://www.familyhandyman.com/article/simple-step-stool/"
}
}
Sample Response
{
"data": {
"documentID": "6515dccab4bc5400060fbc6a",
"data": {
"type": "url",
"name": "familyhandyman.com/article/simple-step-stool/"
},
"updatedAt": "2023-09-28T20:06:34.049Z",
"status": {
"type": "PENDING"
},
"tags": [
"beginner",
"small_scale"
]
}
}