POST
/
api
/
v1
/
knowledge
/
folder
curl --request POST \
  --url https://chat.api.toolzz.com.br/api/v1/knowledge/folder \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "knowledgebaseId": "<string>"
}'
{
  "id": "<string>",
  "institutionId": "<string>",
  "name": "<string>",
  "isRoot": true
}

Body Description

name
string
required

The name of the folder

knowledgebaseId
string
required

The knowledgebase ID

Response Description

Below you will see the description of the KnowledgeBase creation response

id
uuid
required

Unique identifier of the folder.

institutionId
uuid
required

Identifier of the institution associated with the folder.

name
string
required

Name of the folder.

isRoot
boolean
required

Indicates whether the folder is a root folder.