Overview
Inference API
agents
configurations
functions
integrations
- GETList integrations connections
- GETList integrations connections
- POSTCreate integration
- GETGet integration
- PUTUpdate integration connection
- DELDelete integration
- GETGet integration connection model endpoint configurations
- GETList integration connection models
- GETGet integration model endpoint configurations
knowledgebases
locations
API Reference
models
privateclusters
invitations
service_accounts
store
workspaces
- GETList users in workspace
- POSTInvite user to workspace
- PUTUpdate user role in workspace
- DELRemove user from workspace or revoke invitation
- GETList workspaces
- POSTCreate worspace
- GETGet workspace
- PUTUpdate workspace
- DELDelete workspace
- POSTDecline invitation to workspace
- POSTAccept invitation to workspace
- DELLeave workspace
Update knowledgebase
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>",
"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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Name of the knowledgebase
Body
Knowledgebase
Metadata
The date and time when the resource was created
The date and time when the resource was updated
The user or service account who created the resource
The user or service account who updated the resource
Model display name
Model name
Workspace name
Knowledgebase specification
Collection name
Embedding model
Embedding model type
Enable or disable the agent
Deployment integration connection name
Options specific to the knowledge base
Policy name
Sandbox mode
Knowledgebase status
Response
Knowledgebase
Metadata
The date and time when the resource was created
The date and time when the resource was updated
The user or service account who created the resource
The user or service account who updated the resource
Model display name
Model name
Workspace name
Knowledgebase specification
Collection name
Embedding model
Embedding model type
Enable or disable the agent
Deployment integration connection name
Options specific to the knowledge base
Policy name
Sandbox mode
Knowledgebase status
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>"
}