v2

latestOpenAPI 3.1.02026-07-313981108.2 KB
Knowledge Bases

Get Knowledge Base

Get Knowledge Base

get/kb/v1/knowledge-bases/{id}

Path parameters

idstring required

Knowledge Base ID

Response

Successful response

idstring
status'draft' | 'created' | 'queued' | 'training' | 'trained'
descriptionstring
titlestring

A descriptive and human-readable name for the knowledge base

retrain_frequency_minutesinteger

Automatic retrain interval in minutes

Example response

{
  "id": "5f7b1b1b1b1b1b1b1b1b1b1b",
  "status": "trained",
  "description": "Knowledge Base Description",
  "title": "Knowledge Base Title",
  "retrain_frequency_minutes": 1440,
  "files": [
    {
      "id": "5f7b1b1b1b1b1b1b1b1b1b1b",
      "name": "some_file.json",
      "type": "file",
      "createdAt": "2020-10-05T00:00:00.000Z",
      "updatedAt": "2020-10-05T00:00:00.000Z"
    }
  ]
}