Skip to content

Get Dataset Folders

Endpoint used to get dataset folders.

Terminal window
curl --request GET \
--url https://chat.api.toolzz.com.br/api/v1/knowledge/folder/knowledge/{knowledgeBaseId} \
--header 'Authorization: Bearer TOKEN_HERE'
{
"id": "uuid",
"institutionId": "uuid",
"name": "string",
"knowLedgeBaseId": "uuid",
"isRoot": true
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
knowledgeBaseIdUUIDUnique knowledge base identifier.Yes
KeyTypeDescription
idUUIDUnique knowledge base identifier.
institutionIdUUIDUnique institution identifier.
nameStringFolder name.
knowLedgeBaseIdUUIDUnique knowledge base identifier.
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