PATCH
/
knowledgeSource
/
{id}
curl --request PATCH \
  --url https://demo.enneo.ai/api/mind/knowledgeSource/{id} \
  --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
}'
{
  "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
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Path Parameters

id
integer
required

The id of the knowledgeSource to retrieve

Body

application/json

Knowledge source object

Response

200
application/json
Successful operation

Knowledge source object