GET
/
ai-knowledge-bases
/
{kb_id}
Get AI Knowledge Base
curl --request GET \
  --url https://api.wacht.dev/ai-knowledge-bases/{kb_id} \
  --header 'Authorization: Bearer <token>'
{
  "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"
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication using the Authorization header

Path Parameters

kb_id
string
required

(i64 formatted as string)

Response

Successful response

The response is of type object.