Anunzi IA Documentation
Ir a Anunzi IAAyuda al Cliente
  • Anunzi AI Calls API Documentation
    • Getting Started
    • 🔑Authentication & Security
  • Postman Collections
  • Postman Documentation
  • Assistants
    • 👨‍💼Assistants
      • 🔵Create Assistant
      • 🟣Update Assistant
      • 🟢Get Assistant
      • 🟢List Assistants
      • 🔴Delete Assistant
  • Calls
    • 📳Calls
      • 🔵Make Calls
      • 🔵Make SIP Trunk Call
      • 🟢List Calls
      • 🟢Get Call
      • Webhooks
      • Custom Variables
      • Dynamic Prompt Injection
      • Time Zones
  • Actions
    • 🪄Actions
      • 🔵Create Action
      • 🔵Initialize Custom Action
      • 🟣Update Action
      • 🔴Delete Action
      • 🟢Get Action
      • 🟢List Actions
      • 🔵Attach Action
      • 🔵Detach Action
  • Knowledge Bases
    • 📑Knowledge Bases
      • 🔵Create Knowledge Base
      • 🟢Get Knowledge Base
      • 🟣Update Knowledge Base
      • 🔴Delete Knowledge Base
      • 🔵Attach Knowledge Base
      • 🔵Detach Knowledge Base
  • Plataforma IA Generativa
    • Introducción a Anunzi IA
      • Cambiar el tema y el idioma
  • 📖TEXTO
    • Centro de Herramientas
    • Cómo crear una herramienta
    • Creador de Artículos
    • Cómo usar el Re-escritor
  • 🙋ASISTENTES
    • Crear categorías de chat
    • Crear Plantilla de Chat
    • Entrenamiento de chatbots
    • Cómo usar Asistentes IA
      • Usar comandos de voz
  • 🎨IMAGENES
    • Cómo usar el Creador de Imágenes
  • 🎶AUDIO
    • Pasar archivos de voz a texto (desgrabar)
    • Creador de Voz
    • Clonador de voz
  • Otras Funcionalidades
    • Programa de Afiliados
    • Equipos de trabajo
      • Administrar permisos del equipo
    • Cómo crear una Marca
  • Problemas Comunes
    • No funciona el enlace de confirmación
  • Actualizaciones
    • Novedades de la versión 7.4.2
Con tecnología de GitBook
En esta página

¿Te fue útil?

  1. Knowledge Bases
  2. Knowledge Bases

Update Knowledge Base

PUT https://api.anunzi.net/v2/knowledge_base/{id}

Update an existing knowledge base in your Anunzi environment. This allows modifying the name and conditions under which the knowledge base is accessed.


Path Parameters

Parameter
Type
Required
Description

id

string

Yes

The unique ID of the knowledge base to update.


Body Parameters

Parameter
Type
Required
Description

id

string

Yes

The ID of the knowledge base to update.

name

string

Yes

The updated name of the knowledge base.

rag_use_condition

string

Yes

The updated condition under which the knowledge base will be accessed.


Example Request (cURL)

curl --request PUT \
     --url https://api.anunzi.net/v2/knowledge_base/1561651561 \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'Authorization: Bearer API_KEY' \
     --data '
{
  "id": "1561651561",
  "name": "Development Information",
  "rag_use_condition": "Development questions"
}
'

Example Response (200 OK)

{
  "status": "ok",
  "response": {
    "body": "Knowledge Base updated",
    "knowledge_base_id": "1739253053024x397207388602947460"
  }
}

Response Fields

Field
Type
Description

body

string

Confirmation message that the knowledge base was updated.

knowledge_base_id

string

The unique identifier of the updated knowledge base.


Status Codes

Code
Description

200

Knowledge base updated successfully.

400

Bad Request. Invalid or missing parameters.

AnteriorGet Knowledge BaseSiguienteDelete Knowledge Base

Última actualización hace 3 meses

¿Te fue útil?

📑
🟣