Update Document
PUT
/api/documents/{documentId}
document
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://app.crbnai.com/api/documents/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Tutorial: How to do X",
"user_metadata": {
"url": "https://google.de"
}
}'
Response Response Example
{
"id": "doc_01hdnmm8azwy6dhbsacx8w6c9k",
"knowledge_bot_id": "kb_01ha1ntvyq68jxezgnkwr63wm1",
"name": "Tutorial: How to do X",
"status": "READY",
"user_metadata": {
"url": "https://google.de"
}
}
Request
Path Params
documentId
string
required
Body Params application/json
Responses
Modified at 2023-12-14 17:19:14