curl --request PATCH \
--url https://demo.enneo.ai/api/mind/knowledgeSource/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": 123,
"type": "faq",
"status": "active",
"source": "https://company.com/faq/376189",
"name": "Opening hours",
"tags": [
70,
71
],
"teams": [
1,
2
],
"title": "Opening hours",
"text": "Our service hours are from 8am to 5pm. We are closed on weekends. [...]",
"confidential": false,
"excluded": false
}
'{
"success": true,
"id": 123,
"type": "faq",
"status": "active",
"source": "https://company.com/faq/376189",
"name": "Opening hours",
"tags": [
70,
71
],
"teams": [
1,
2
],
"readByAgents": [
{
"id": 1,
"name": "John Doe",
"readAt": "2024-11-29 14:38:12"
}
],
"title": "Opening hours",
"text": "Our service hours are from 8am to 5pm. We are closed on weekends. [...]",
"confidential": false,
"excluded": false
}curl --request PATCH \
--url https://demo.enneo.ai/api/mind/knowledgeSource/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": 123,
"type": "faq",
"status": "active",
"source": "https://company.com/faq/376189",
"name": "Opening hours",
"tags": [
70,
71
],
"teams": [
1,
2
],
"title": "Opening hours",
"text": "Our service hours are from 8am to 5pm. We are closed on weekends. [...]",
"confidential": false,
"excluded": false
}
'{
"success": true,
"id": 123,
"type": "faq",
"status": "active",
"source": "https://company.com/faq/376189",
"name": "Opening hours",
"tags": [
70,
71
],
"teams": [
1,
2
],
"readByAgents": [
{
"id": 1,
"name": "John Doe",
"readAt": "2024-11-29 14:38:12"
}
],
"title": "Opening hours",
"text": "Our service hours are from 8am to 5pm. We are closed on weekends. [...]",
"confidential": false,
"excluded": false
}Documentation Index
Fetch the complete documentation index at: https://docs.enneo.ai/llms.txt
Use this file to discover all available pages before exploring further.
JWT-based authentication
The id of the knowledgeSource to retrieve
Knowledge source object
Internal id, e.g. 123
123
Type of knowledge source
faq, work-instruction, document, other, news, website Status of the knowledge source
active, archived, deleted "active"
URL to associated source. null for sources with internal ids (tickets and templates) or if non-existant (language model source)
"https://company.com/faq/376189"
Name of knowledge source, any requests with existing name will update the existing knowledge source
"Opening hours"
Tags that are assigned to this knowledge source
[70, 71](!) Should be used only with type 'news' (otherwise ignored). Teams that are assigned to the knowledge source object
[1, 2]Title of knowledge source
"Opening hours"
Full text that was used as source
"Our service hours are from 8am to 5pm. We are closed on weekends. [...]"
If true, then this knowledge source is only visible to agents
false
For website-type pages only — true if the page URL matches the parent connector's
sourceConfig.excludePaths. Excluded pages are filtered out of GET /knowledgeSource
(bulk list) and return 404 from GET /knowledgeSource/{id} so Cortex sync stays consistent.
The configuration view (which calls /knowledgeSourceStructure?withExcluded=true)
sees them with this flag set so it can render the "Excluded" tag and the Include action.
Successful operation
Knowledge source object
Operation was successful
true
Internal id, e.g. 123
123
Type of knowledge source
faq, work-instruction, document, other, news, website Status of the knowledge source
active, archived, deleted "active"
URL to associated source. null for sources with internal ids (tickets and templates) or if non-existant (language model source)
"https://company.com/faq/376189"
Name of knowledge source, any requests with existing name will update the existing knowledge source
"Opening hours"
Tags that are assigned to this knowledge source
[70, 71](!) Should be used only with type 'news' (otherwise ignored). Teams that are assigned to the knowledge source object
[1, 2]Agents that have read the knowledge source
Show child attributes
[
{
"id": 1,
"name": "John Doe",
"readAt": "2024-11-29 14:38:12"
}
]Title of knowledge source
"Opening hours"
Full text that was used as source
"Our service hours are from 8am to 5pm. We are closed on weekends. [...]"
If true, then this knowledge source is only visible to agents
false
For website-type pages only — true if the page URL matches the parent connector's
sourceConfig.excludePaths. Excluded pages are filtered out of GET /knowledgeSource
(bulk list) and return 404 from GET /knowledgeSource/{id} so Cortex sync stays consistent.
The configuration view (which calls /knowledgeSourceStructure?withExcluded=true)
sees them with this flag set so it can render the "Excluded" tag and the Include action.