Skip to main content
PATCH
Update agent file
Envía label, agent_instruction o ambos:
  • El @handle no cambia nunca, así que las instrucciones y reglas que lo mencionan siguen funcionando después de renombrar el archivo.
  • El archivo pertenece a la cuenta: el nuevo nombre y las nuevas instrucciones aplican a todos los agentes que lo envían. Avísale a la persona antes de cambiar un archivo que otros agentes también usan.
  • Los valores se recortan y pueden tener hasta 4000 caracteres.

Autorizaciones

X-API-Key
string
header
requerido

API key for authentication. Keys are prefixed with nxr_live_.

Parámetros de ruta

id
string<uuid>
requerido

File ID, from List files. A malformed ID returns 400 Validation error.

Cuerpo

application/json

Send at least one of label and agent_instruction. Values are trimmed before they are checked and saved.

label
string

New name for the file. Send "" to clear it and show the filename.

Maximum string length: 4000
agent_instruction
string

When the agent should send this file. Cannot be empty.

Required string length: 1 - 4000

Respuesta

The updated file.

success
enum<boolean>
requerido
Opciones disponibles:
true
file
object
requerido

A file your agents can send to leads. Files belong to the account, so one file and its sending instructions are shared by every agent that sends it.

Última modificación el 29 de septiembre de 2026