Knowledge Base

Save or update existing articles. The article will be automatically used for chatbot training based on the AI Chatbot settings and the types of articles configured for training.

post/kb/articles

Request

  • Base URL: https://api.charla.com/v1
  • URL: https://api.charla.com/v1/kb/articles
  • Auth: API key in header X-Api-Key

Request body

idinteger
titlestring nullable
slugstring nullable
descriptionstring nullable
articlestring nullable
statusstring nullable

Status of the article, either Draft or Published

visibilitystring nullable

Visibility of the article, either Private or Public

created_atstring date-time nullable
updated_atstring date-time nullable
trained_atstring date-time nullable

Example request

{
  "categories": [
    {
      "id": 1,
      "name": "Using Chatrla"
    }
  ],
  "status": "Published",
  "visibility": "Private"
}

Response

OK

idinteger
titlestring nullable
slugstring nullable
descriptionstring nullable
articlestring nullable
statusstring nullable

Status of the article, either Draft or Published

visibilitystring nullable

Visibility of the article, either Private or Public

created_atstring date-time nullable
updated_atstring date-time nullable
trained_atstring date-time nullable

Example response

{
  "categories": [
    {
      "id": 1,
      "name": "Using Chatrla"
    }
  ],
  "status": "Published",
  "visibility": "Private"
}

Changes

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