Skip to main content
PUT
cURL
Updates a single entry (question/answer pair or text chunk) of a knowledge base. Only that entry is re-embedded, so this is cheaper than updating the whole knowledge base.

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The hash_id of the knowledge base

Body

application/json

Entry to update

node_id
string
required

The id of the entry to update

node_type
string
required

The type of the entry, e.g. Question

content
string
required

The new content (question text for FAQ entries, chunk text for documents)

answer
string

The new answer, for FAQ entries

Response

Entry updated and re-embedded

success
boolean

Whether the request succeeded

message
string

Response message