API ReferenceKnowledge bases
List organization's Knowledge Bases
Retrieves the list of Knowledge Bases for the authenticated user's organization. Supports search filters and pagination.
Authorization
ApiKeyAuth AuthorizationBearer <token>
Bearer token for API authentication
In: header
Query Parameters
isActive?boolean
Filter by active status
Default
truesearch?string
Search by name or description
page?integer
Page number
Default
1Range
1 <= valuelimit?integer
Number of items per page
Default
20Range
1 <= value <= 100Response Body
application/json
application/json
application/json
curl -X GET "https://app.docutray.com/api/knowledge-bases"{
"data": [
{
"id": "string",
"name": "string",
"description": "string",
"isActive": true,
"createdAt": "2019-08-24T14:15:22Z",
"documentCount": 0
}
],
"pagination": {
"total": 0,
"page": 0,
"limit": 0
}
}{
"message": "Validation error",
"errors": [
"string"
]
}Empty
Empty
{
"message": "Internal server error"
}