cURL
curl --request PUT \ --url http://localhost:3000/api/v1/context/knowledge/{filename} \ --header 'Content-Type: application/json' \ --cookie nut-session= \ --data ' { "title": "<string>", "content": "<string>", "tags": [ "<string>" ] } '
{ "success": true, "data": { "document": { "filename": "<string>", "title": "<string>", "content": "<string>", "tags": [ "<string>" ], "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } } }
Update an existing knowledge document
Session cookie authentication
Document filename
Knowledge document updated
Show child attributes
Document title
Document content (Markdown)