curl --request PATCH \
--url https://realtime-api.voiceflow.com/v1alpha1/public/knowledge-base/document/{documentID}/chunk/{chunkID} \
--header 'Content-Type: knowledgeBase' \
--header 'authorization: <api-key>' \
--data '
{
"data": {
"metadata": {}
}
}
'{
"data": {
"documentID": "<string>",
"data": {
"type": "url",
"name": "<string>",
"url": "<string>",
"refreshRate": "daily",
"lastSuccessUpdate": "<string>",
"accessTokenID": 123,
"integrationExternalID": "<string>",
"source": "zendesk"
},
"updatedAt": "2023-11-07T05:31:56Z",
"status": {
"type": "ERROR",
"data": "<unknown>"
}
}
}Update the metadata associated with the specified document chunk.
curl --request PATCH \
--url https://realtime-api.voiceflow.com/v1alpha1/public/knowledge-base/document/{documentID}/chunk/{chunkID} \
--header 'Content-Type: knowledgeBase' \
--header 'authorization: <api-key>' \
--data '
{
"data": {
"metadata": {}
}
}
'{
"data": {
"documentID": "<string>",
"data": {
"type": "url",
"name": "<string>",
"url": "<string>",
"refreshRate": "daily",
"lastSuccessUpdate": "<string>",
"accessTokenID": 123,
"integrationExternalID": "<string>",
"source": "zendesk"
},
"updatedAt": "2023-11-07T05:31:56Z",
"status": {
"type": "ERROR",
"data": "<unknown>"
}
}
}Voiceflow API key
ID of the document to target.
ID of the document chunk to target.
The target document chunk was updated successfully.
Hide child attributes
Hide child attributes
url daily, weekly, monthly, never zendesk, shopify Was this page helpful?