cURL
curl --request PATCH \ --url https://api.revring.ai/v1/knowledge-bases/{id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "name": "<string>", "description": "<string>" } '
{ "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "sourceCount": 123, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "description": "<string>", "sources": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "knowledgeBaseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "sourceType": "file", "displayName": "<string>", "status": "queued", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "content": "<string>", "originalUrl": "<string>", "mimeType": "<string>", "fileSize": 123, "errorMessage": "<string>" } ] } }
Update knowledge base name or description
API key for authentication. Generate API keys from the RevRing dashboard.
Knowledge base ID
Knowledge base name
128
Optional description
500
Knowledge base updated
Knowledge base with sources for agent retrieval
Show child attributes