cURL
curl --request PATCH \ --url https://api.example.com/user/document/{knowledge_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "folder_path": "<string>", "status": "<string>", "chunk_count": 123, "progress": 123, "error_message": "<string>" } '
{ "knowledge_id": 123, "owner_id": 123, "name": "<string>", "file_format": "<string>", "file_size_bytes": 123, "status": "<string>", "chunk_count": 123, "progress": 123, "uploaded_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "folder_path": "<string>", "error_message": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
x >= 1
Successful Response