curl --request PATCH \
--url https://realtime-api.voiceflow.com/v1alpha1/public/knowledge-base/document/{documentID} \
--header 'Content-Type: knowledgeBase' \
--header 'authorization: <api-key>' \
--data '
{
"data": {
"metadata": {}
}
}
'{
"data": {
"documentID": "<string>",
"data": {
"type": "csv",
"name": "<string>",
"rowsCount": 123
},
"updatedAt": "2023-11-07T05:31:56Z",
"status": {
"type": "ERROR",
"data": "<unknown>"
}
}
}Update the metadata associated with the specified document.
curl --request PATCH \
--url https://realtime-api.voiceflow.com/v1alpha1/public/knowledge-base/document/{documentID} \
--header 'Content-Type: knowledgeBase' \
--header 'authorization: <api-key>' \
--data '
{
"data": {
"metadata": {}
}
}
'{
"data": {
"documentID": "<string>",
"data": {
"type": "csv",
"name": "<string>",
"rowsCount": 123
},
"updatedAt": "2023-11-07T05:31:56Z",
"status": {
"type": "ERROR",
"data": "<unknown>"
}
}
}Voiceflow Dialog Manager API key (VF.DM) or Workspace API key (VF.WS)
ID of the document to target.
The target document was updated successfully.
Hide child attributes
Was this page helpful?