Skip to main content
PATCH
Updates an existing knowledge base entry. Only the provided fields will be modified. All fields are optional. Returns the entry’s id.

Authorizations

X-API-KEY
string
header
required

Your Classet API key. Create and rotate keys in Settings → API.

Path Parameters

entryId
string
required

The ID of the knowledge entry to update.

Body

application/json
question
string

The question text. Applicable for qa type entries.

answer
string

The answer text. Applicable for qa type entries.

content
string

Free-form content. Applicable for context and document type entries.

entry_type
enum<string>

Change the entry type. One of qa, context, or document.

Available options:
qa,
context,
document

Response

Updated

data
object
required