Actualizar identidad compartida
Reemplaza el nombre, la voz, el idioma y las instrucciones con que hablan todas las tareas de un agente. Requiere confirm: true.
- Una tarea que tiene su propio idioma lo mantiene.
- En
channel_prompts, las instrucciones del agente para un canal van primero, y las instrucciones de una tarea para ese mismo canal se agregan después. - Es un reemplazo completo, así que envía todos los campos. Para cambiar solo uno, primero lee los valores actuales con Consultar configuración.
Límite de contenido del cliente
La identidad compartida cuenta dentro de los 20.000 tokens del cliente de cada tarea del agente. Las instrucciones internas de Nexor quedan fuera de este cupo. La API revisa tanto la identidad compartida por sí sola como cada tarea con la identidad propuesta. Si alguna supera el límite, devuelve422 customer_prompt_too_large con tokens, limit y customer. El cambio de identidad no se guarda.Autorizaciones
API key for authentication. Keys are prefixed with nxr_live_. To work inside a sub-account with a main account key, also send the optional X-Nexor-Sub-Account-Id header.
Parámetros de ruta
Agent ID (master_workflow in the API). A malformed ID returns 400 invalid_group_id.
Cuerpo
1 - 1201 - 255es-CL, es-MX, es-PE, es-CO, es-AR, es-US, en-US, en-AU, ko-KR, pt-BR, fr-FR, ar-AE, zh-CN, vi-VN, th-TH 1 - 8000Extra instructions per channel, up to 8,000 characters each. Send {} for none.
Must be true.
true Other languages the agent can switch a lead to. One per language, never the agent's own language. Omit it to keep the saved list; send [] to clear it.
es-CL, es-MX, es-PE, es-CO, es-AR, es-US, en-US, en-AU, ko-KR, pt-BR, fr-FR, ar-AE, zh-CN, vi-VN, th-TH Respuesta
Saved identity.
The agent's shared identity: the name, voice, language, and instructions all of its tasks speak with, including while the agent works out which task should answer. When the agent has no complete identity of its own, the values shown come from the default task.