POST
/
knowledgeSourceStructure
curl --request POST \
  --url https://demo.enneo.ai/api/mind/knowledgeSourceStructure \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "id": 1,
    "name": "Fragen",
    "type": "faq",
    "description": "Allgemeine Fragen",
    "parent": 0,
    "children": [
      {
        "id": 2,
        "name": "Allgemeine Fragen",
        "parent": 1,
        "children": [
          {}
        ]
      }
    ]
  }
]'
[
  {
    "id": 1,
    "name": "Fragen",
    "type": "faq",
    "description": "Allgemeine Fragen",
    "parent": 0,
    "children": [
      {
        "id": 2,
        "name": "Allgemeine Fragen",
        "parent": 1,
        "children": [
          {}
        ]
      }
    ]
  }
]

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Body

application/json · object[]
id
integer

The unique identifier of the knowledge source structur

name
string

The name of the knowledge source structure

type
string | null

The type of the knowledge source structure

description
string | null

The description of the knowledge source structure

parent
integer

The parent id of the knowledge source structure

children
object[]

Response

200
application/json
Created
id
integer

The unique identifier of the knowledge source structur

name
string

The name of the knowledge source structure

type
string | null

The type of the knowledge source structure

description
string | null

The description of the knowledge source structure

parent
integer

The parent id of the knowledge source structure

children
object[]