Skip to content

Create Folder

Endpoint used to create a folder.

Terminal window
curl --request POST \
--url https://chat.api.toolzz.com.br/api/v1/knowledge/folder \
--header 'Authorization: Bearer TOKEN_HERE' \
--header 'Content-Type: application/json' \
--data '
{
"name": "string",
"knowledgebaseId": "uuid"
}
'
{
"id": "uuid",
"institutionId": "uuid",
"name": "string",
"isRoot": true
}
ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
nameStringFolder identification name.Yes
knowledgebaseIdUUIDDataset identifier.Yes
KeyTypeDescription
idUUIDUnique folder identifier.
institutionIdUUIDInstitution identifier.
nameStringFolder identification name.
isRootBooleanIndicates if the folder is the root.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request. Additionally, the API is protected by other security measures to safeguard user data.

To access your access token, follow these steps:

  1. Log in to the ToolzzAI platform
  2. Click on “Settings”
  3. Click on “Access Token”
  4. Copy the access token

Access token page