curl --request GET \
--url https://api.blaxel.ai/v0/knowledgebases \
--header 'Authorization: Bearer <token>'
[
{
"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>"
}
]
Returns a list of all knowledgebases in the workspace.
curl --request GET \
--url https://api.blaxel.ai/v0/knowledgebases \
--header 'Authorization: Bearer <token>'
[
{
"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.
successful operation
The response is of type object[]
.
Was this page helpful?