Get a list of all AI knowledge bases
curl --request GET \
--url https://api.wacht.dev/ai-knowledge-bases \
--header 'Authorization: Bearer <token>'
{
"total": 100,
"page": 1,
"per_page": 20,
"total_pages": 5,
"data": [
{
"id": "<string>",
"name": "Product Documentation",
"description": "<string>",
"type": "vector",
"embedding_model": "text-embedding-ada-002",
"document_count": 150,
"total_tokens": 450000,
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
JWT Bearer token authentication using the Authorization header
vector
, graph
, hybrid
Successful response
The response is of type object
.
curl --request GET \
--url https://api.wacht.dev/ai-knowledge-bases \
--header 'Authorization: Bearer <token>'
{
"total": 100,
"page": 1,
"per_page": 20,
"total_pages": 5,
"data": [
{
"id": "<string>",
"name": "Product Documentation",
"description": "<string>",
"type": "vector",
"embedding_model": "text-embedding-ada-002",
"document_count": 150,
"total_tokens": 450000,
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}