AI Agents
Rename knowledge
PATCH
Changes the name or description. Needs the admin role. Needs AI Agent on the workspace's account; without it the endpoint answers 404 feature.unavailable.
header
AuthorizationBearer <token>Send your key as Authorization: Bearer eksis_sk_....
knowledgeBaseId*stringapplication/json- body
name?stringLength
1 <= length <= 60description?stringLength
length <= 200The knowledge after the change.
application/json- response
data?curl -X PATCH 'https://api.eksis.io/v1/ai-agents/library/knowledge/string' \ -H 'Authorization: Bearer eksis_sk_...' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "id": "string", "name": "string", "description": "string", "sources": [ { "id": "string", "type": "website", "title": "string", "url": "string", "body": "string", "faq": [ { "question": "string", "answer": "string" } ], "fileName": "string", "fileType": "pdf", "fileSize": 0, "status": "pending", "error": "string", "readAt": "2019-08-24T14:15:22Z", "chars": 0, "createdAt": "2019-08-24T14:15:22Z" } ], "chars": 0, "usedBy": [ { "id": "string", "name": "string" } ], "updatedAt": "2019-08-24T14:15:22Z" }}