Knowledge Base

Update Knowledge Base

Renames one knowledge base without changing its ID or agent attachments. Returns 409 when another knowledge base in the workspace has the name, or while a document is being indexed.

patch/v1/knowledge-base/{id}

Request

  • Base URL: https://api.dialnexa.com
  • URL: https://api.dialnexa.com/v1/knowledge-base/{id}
  • Auth: HTTP bearer

Path parameters

idstring required
Example:kb_abc123

Knowledge base ID

Request body

namestring

Knowledge base name. Must not be blank when provided. Keep it to 150 characters: a longer name is refused with 500.

Example request

{
  "name": "Updated Product Documentation"
}

Response

Knowledge base updated successfully.

successtrue required
errorfalse required
statusCodeinteger required
messagestring required
timestampstring date-time required

Example response

{
  "statusCode": 200,
  "message": "Success",
  "data": {
    "id": "kb_abc123",
    "name": "Loan FAQ",
    "org_id": "o14XKPP84rt22g"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.