PUT
/
knowledgebases
/
{knowledgebaseName}
curl --request PUT \
  --url https://api.blaxel.ai/v0/knowledgebases/{knowledgebaseName} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "events": [
    {
      "message": "<string>",
      "revision": "<string>",
      "status": "<string>",
      "time": "<string>",
      "type": "<string>"
    }
  ],
  "metadata": {
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "createdBy": "<string>",
    "updatedBy": "<string>",
    "displayName": "<string>",
    "labels": {},
    "name": "<string>",
    "workspace": "<string>"
  },
  "spec": {
    "collectionName": "<string>",
    "embeddingModel": "<string>",
    "embeddingModelType": "<string>",
    "enabled": true,
    "integrationConnections": [
      "<string>"
    ],
    "options": {},
    "policies": [
      "<string>"
    ],
    "revision": {
      "active": "<string>",
      "canary": "<string>",
      "canaryPercent": 123,
      "previousActive": "<string>",
      "traffic": 123
    },
    "sandbox": true
  },
  "status": "<string>"
}'
{
  "events": [
    {
      "message": "<string>",
      "revision": "<string>",
      "status": "<string>",
      "time": "<string>",
      "type": "<string>"
    }
  ],
  "metadata": {
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "createdBy": "<string>",
    "updatedBy": "<string>",
    "displayName": "<string>",
    "labels": {},
    "name": "<string>",
    "workspace": "<string>"
  },
  "spec": {
    "collectionName": "<string>",
    "embeddingModel": "<string>",
    "embeddingModelType": "<string>",
    "enabled": true,
    "integrationConnections": [
      "<string>"
    ],
    "options": {},
    "policies": [
      "<string>"
    ],
    "revision": {
      "active": "<string>",
      "canary": "<string>",
      "canaryPercent": 123,
      "previousActive": "<string>",
      "traffic": 123
    },
    "sandbox": true
  },
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

knowledgebaseName
string
required

Name of the knowledgebase

Body

application/json

Knowledgebase

events
object[]

Core events

Core event

metadata
object

Metadata

spec
object

Knowledgebase specification

status
string

Knowledgebase status

Response

200 - application/json
successful operation

Knowledgebase

events
object[]

Core events

Core event

metadata
object

Metadata

spec
object

Knowledgebase specification

status
string

Knowledgebase status