Zum Hauptinhalt springen
GET
/
knowledgeSourceStructure
Get the knowledge source structure
curl --request GET \
  --url https://demo.enneo.ai/api/mind/knowledgeSourceStructure \
  --header 'Authorization: Bearer <token>'
[
  {
    "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": [
          {}
        ]
      }
    ]
  }
]

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

Abfrageparameter

withExcluded
boolean
Standard:false

When true, include website tree nodes whose source matches the parent connector's excludePaths and tag each website node with excluded: true|false. When false (default) or omitted, those nodes are dropped from the response. Truthy values: true, 1, yes, on.

Antwort

Successful operation

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[]