POST
/
api
/
v1
/
knowledge
/
duplicate
/
{id}
curl --request POST \
  --url https://chat.api.toolzz.com.br/api/v1/knowledge/duplicate/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "title": "<string>",
  "description": "<string>",
  "documentCount": 123,
  "wordCount": 123,
  "icon": "<string>",
  "status": 123,
  "isActivated": true
}

Body Description

id
string
required

The Unity ID

Response Description

Below you will see the description of the KnowledgeBase duplicate response

id
uuid
required

Unique identifier of the copied knowledge base.

title
string
required

Title of the copied knowledge base.

description
string

Description of the copied knowledge base.

documentCount
number
required

Number of documents in the copied knowledge base.

wordCount
number
required

Total word count of all documents in the copied knowledge base.

icon
string

URL of the copied knowledge base icon.

status
number
required

Status of the copied knowledge base (e.g., 1 for active).

isActivated
boolean
required

Indicates whether the copied knowledge base is activated.

Segurança

Para acessar este endpoint, é necessário enviar um token de acesso válido através do cabeçalho de autorização (Authorization) da requisição. Além disso, a API é protegida por outras medidas de segurança para proteger os dados dos usuários.