Zum Hauptinhalt springen
PUT
/
knowledgeSourceStructure
/
{id}
Update a knowledge source structure
curl --request PUT \
  --url https://demo.enneo.ai/api/mind/knowledgeSourceStructure/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "id": 1,
    "name": "Fragen",
    "type": "faq",
    "description": "Allgemeine Fragen",
    "parent": 0,
    "articleId": 123,
    "source": "<string>",
    "excluded": true,
    "children": [
      {
        "id": 2,
        "name": "Allgemeine Fragen",
        "parent": 1,
        "children": [
          {}
        ]
      }
    ]
  }
]
'
{
  "success": true
}

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.

Autorisierungen

Authorization
string
header
erforderlich

JWT-based authentication

Pfadparameter

id
integer
erforderlich

Body

application/json
id
integer

The unique identifier of the knowledge source structur

Beispiel:

1

name
string

The name of the knowledge source structure

Beispiel:

"Fragen"

type
string | null

The type of the knowledge source structure

Beispiel:

"faq"

description
string | null

The description of the knowledge source structure

Beispiel:

"Allgemeine Fragen"

parent
integer

The parent id of the knowledge source structure

Beispiel:

0

articleId
integer

For website-type nodes only — the id of one representative knowledge_sources page under this structure node, used by the FE to build the article navigation link.

source
string

For website-type nodes only — the source URL of the representative page.

excluded
boolean

For website-type nodes only, present only when ?withExcluded=true was passed. True if the node's source URL matches the parent connector's sourceConfig.excludePaths.

children
object[]

Antwort

Successful operation

Data format of Enneo success messages

success
boolean

Operation was successful

Beispiel:

true