Lista de APIs responsáveis por gerenciar os arquivos de conhecimentos do Agente.
Excluir arquivo
Exclui o arquivo selecionado e todos os registros vinculados a ele.
path Parameters
fileidstring · requiredID do arquivo.
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Rate Limiting Response
typestring · requiredA URI reference that identifies the problem.
titlestring · requiredA short, human-readable summary of the problem.
statusnumber · requiredThe HTTP status code.
instancestring
Baixar arquivo do conhecimento
Realiza o download do arquivo que foi utilizado para criar registros em um conhecimento.
path Parameters
fileidstring · requiredID do arquivo.
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Rate Limiting Response
typestring · requiredA URI reference that identifies the problem.
titlestring · requiredA short, human-readable summary of the problem.
statusnumber · requiredThe HTTP status code.
instancestring
Listar arquivos
Lista todos os arquivos no conhecimento selecionado.
path Parameters
conhecimentoidstring · requiredID do conhecimento.
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Rate Limiting Response
typestring · requiredA URI reference that identifies the problem.
titlestring · requiredA short, human-readable summary of the problem.
statusnumber · requiredThe HTTP status code.
instancestring
Adicionar arquivo ao conhecimento
Essa rota cria registros com o conteúdo do arquivo e os insere no conhecimento informado
path Parameters
conhecimentoidstring · requiredID do conhecimento.
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Request Body
filestring · binary · requiredArquivo para upload (documento)
namestringNome do arquivo (opcional). Se fornecido, o arquivo será exibido com este nome na plataforma em vez do nome original.
Responses
Seu arquivo está sendo processado! Os registros estarão na sua base de conhecimento em breve
messagestring