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

Body Description

id
string
required

The Unity ID

name
string
required

The Name of KnowledgeBase

Response Description

Below you will see the description of the KnowledgeBase response

id
uuid
required

Unique identifier of the knowledge base.

title
string
required

Title of the knowledge base.

description
string

Description of the knowledge base.

documentCount
number
required

Number of documents in the knowledge base.

wordCount
number
required

Total word count of all documents in the knowledge base.

icon
string

URL of the knowledge base icon.

status
number
required

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

isActivated
boolean
required

Indicates whether the 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.