Updates an knowledgebase.
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>",
"plan": "<any>",
"workspace": "<string>"
},
"spec": {
"collectionName": "<string>",
"embeddingModel": "<string>",
"embeddingModelType": "<string>",
"enabled": true,
"integrationConnections": [
"<string>"
],
"options": {},
"policies": [
"<string>"
],
"revision": {
"active": "<string>",
"canary": "<string>",
"canaryPercent": 123,
"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>",
"plan": "<any>",
"workspace": "<string>"
},
"spec": {
"collectionName": "<string>",
"embeddingModel": "<string>",
"embeddingModelType": "<string>",
"enabled": true,
"integrationConnections": [
"<string>"
],
"options": {},
"policies": [
"<string>"
],
"revision": {
"active": "<string>",
"canary": "<string>",
"canaryPercent": 123,
"traffic": 123
},
"sandbox": true
},
"status": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Name of the knowledgebase
Knowledgebase
successful operation
Knowledgebase
Was this page helpful?
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>",
"plan": "<any>",
"workspace": "<string>"
},
"spec": {
"collectionName": "<string>",
"embeddingModel": "<string>",
"embeddingModelType": "<string>",
"enabled": true,
"integrationConnections": [
"<string>"
],
"options": {},
"policies": [
"<string>"
],
"revision": {
"active": "<string>",
"canary": "<string>",
"canaryPercent": 123,
"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>",
"plan": "<any>",
"workspace": "<string>"
},
"spec": {
"collectionName": "<string>",
"embeddingModel": "<string>",
"embeddingModelType": "<string>",
"enabled": true,
"integrationConnections": [
"<string>"
],
"options": {},
"policies": [
"<string>"
],
"revision": {
"active": "<string>",
"canary": "<string>",
"canaryPercent": 123,
"traffic": 123
},
"sandbox": true
},
"status": "<string>"
}
Updates an knowledgebase.
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>",
"plan": "<any>",
"workspace": "<string>"
},
"spec": {
"collectionName": "<string>",
"embeddingModel": "<string>",
"embeddingModelType": "<string>",
"enabled": true,
"integrationConnections": [
"<string>"
],
"options": {},
"policies": [
"<string>"
],
"revision": {
"active": "<string>",
"canary": "<string>",
"canaryPercent": 123,
"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>",
"plan": "<any>",
"workspace": "<string>"
},
"spec": {
"collectionName": "<string>",
"embeddingModel": "<string>",
"embeddingModelType": "<string>",
"enabled": true,
"integrationConnections": [
"<string>"
],
"options": {},
"policies": [
"<string>"
],
"revision": {
"active": "<string>",
"canary": "<string>",
"canaryPercent": 123,
"traffic": 123
},
"sandbox": true
},
"status": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Name of the knowledgebase
Knowledgebase
successful operation
Knowledgebase
Was this page helpful?
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>",
"plan": "<any>",
"workspace": "<string>"
},
"spec": {
"collectionName": "<string>",
"embeddingModel": "<string>",
"embeddingModelType": "<string>",
"enabled": true,
"integrationConnections": [
"<string>"
],
"options": {},
"policies": [
"<string>"
],
"revision": {
"active": "<string>",
"canary": "<string>",
"canaryPercent": 123,
"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>",
"plan": "<any>",
"workspace": "<string>"
},
"spec": {
"collectionName": "<string>",
"embeddingModel": "<string>",
"embeddingModelType": "<string>",
"enabled": true,
"integrationConnections": [
"<string>"
],
"options": {},
"policies": [
"<string>"
],
"revision": {
"active": "<string>",
"canary": "<string>",
"canaryPercent": 123,
"traffic": 123
},
"sandbox": true
},
"status": "<string>"
}