Skip to content

Duplicate Dataset

Endpoint used to duplicate a knowledge base.

Terminal window
curl --request POST \
--url https://chat.api.toolzz.com.br/api/v1/knowledge/duplicate/{id} \
--header 'Authorization: Bearer TOKEN_HERE'
{
"id": "<string>",
"title": "<string>",
"description": "<string>",
"documentCount": 123,
"wordCount": 123,
"icon": "<string>",
"status": 123,
"isActivated": true
}
ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
nameStringKnowledge base identification name.Yes
descriptionStringBrief description about the purpose or content of the base.Yes
unityIdUUIDOwning organizational unit identifier.Yes
KeyTypeDescription
idUUIDUnique identifier of the generated knowledge base.
titleStringBase title (equivalent to the sent name).
descriptionStringKnowledge base description recorded in the system.
documentCountNumberQuantity of processed documents (starts at 0).
wordCountNumberTotal words extracted from the documents (starts at 0).
iconStringReference to the visual icon of the base.
statusNumberCurrent status code (e.g., 1 for Active/Processed).
isActivatedBooleanIndicates if the base is ready and enabled for use.

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