Skip to main content
PATCH
Update knowledge base document

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

Knowledge base ID

docId
string<uuid>
requerido

Document ID

Cuerpo

application/json
name
string

New document name (trimmed, max 120 characters).

Maximum string length: 120
text
string

New document content as plain text, max 200KB (UTF-8). Triggers re-indexing: status returns to pending until the new content is chunked and embedded.

Respuesta

Document updated. status is only present after a content change and is always pending.

success
boolean
Ejemplo:

true

id
string<uuid>
name
string
status
enum<string>

Present only when text was sent. The document is being re-indexed.

Opciones disponibles:
pending
Última modificación el 7 de septiembre de 2026